__create: function (config) { // 配置参数 var self = this, layout = config.layout, grid = config.grid; // 配置对话框 $.overlay({ title: '设置布局结构', content: function () { return self.__getContent(grid); }, ok: '设置好了,看看效果', onOk: function (container, close) { self.__change(container, layout, grid); close(); }, afterRenderUI: function () { self.__bind(); }, type: 'small' }); },
__create: function (config) { var self = this; // 配置对话框 $.overlay({ title: '添加模块', content: function () { return self.__getContent(config); }, ok: '选择好了,就这几个', onOk: function (container, close) { self.__insert(config); close(); }, afterRenderUI: function () { self.__setAuthorsTypes(); self.__bind(); self.__load(); }, type: 'large' }); },