huqi 5 лет назад
Родитель
Сommit
1c6b099a17
1 измененных файлов с 8 добавлено и 1 удалено
  1. 8 1
      o2web/source/x_component_FindDesigner/Main.js

+ 8 - 1
o2web/source/x_component_FindDesigner/Main.js

@@ -451,7 +451,14 @@ MWF.xApplication.FindDesigner.Main = new Class({
 								d = d[path[i]];
 							}
 						}
-						d[path[path.length-1]] = this.editor.getValue();
+						if (path[path.length-1]=="styles"){
+							d["recoveryStyles"] = this.editor.getValue();
+						}else if (path[path.length-1]=="inputStyles"){
+							d["recoveryInputStyles"] = this.editor.getValue();
+						}else{
+							d[path[path.length-1]] = this.editor.getValue();
+						}
+						//d[path[path.length-1]] = this.editor.getValue();
 					}
 				}
 				this.editor.destroy();