...
|
...
|
@@ -156,10 +156,8 @@ var Bll = { |
|
|
Bll.__render(".modal-body", templater, Bll.module);
|
|
|
Bll.__editRender();
|
|
|
},
|
|
|
__editRender: function () {
|
|
|
edit.init();
|
|
|
|
|
|
edit.on("file_onComplete_word-icon", function (obj) {
|
|
|
editCallbackFn: function(obj) {
|
|
|
if (obj.key.indexOf('file_onComplete') === 0) {
|
|
|
console.log(obj);
|
|
|
var names = obj.field;
|
|
|
console.log(names);
|
...
|
...
|
@@ -176,7 +174,12 @@ var Bll = { |
|
|
Bll.module.contentData.data = common.util.__buildobj(names, '.', Bll.module.contentData.data, function (o, name) {
|
|
|
o[name] = obj.data;
|
|
|
});
|
|
|
});
|
|
|
}
|
|
|
},
|
|
|
__editRender: function () {
|
|
|
edit.init();
|
|
|
edit.off('callback', Bll.editCallbackFn);
|
|
|
edit.on('callback', Bll.editCallbackFn);
|
|
|
}
|
|
|
};
|
|
|
/**
|
...
|
...
|
|