瀏覽代碼

修改组件title定义方式为titletext和titlestyle

zhuth 8 年之前
父節點
當前提交
90c2c9fe91
共有 1 個文件被更改,包括 3 次插入2 次删除
  1. 3 2
      kanban-console/src/main/webapp/resources/app/controller/board.js

+ 3 - 2
kanban-console/src/main/webapp/resources/app/controller/board.js

@@ -166,7 +166,7 @@ Ext.define('erp.controller.board', {
 					var builderPanel = Ext.getCmp('modelbuilderpanel');
 					var currenSelectPanel = builderPanel.currenSelectPanel; 
 					var propconfig = currenSelectPanel.config.propGridDefault.propconfig;
-					
+
 					for(var i = 0; i < propconfig.length; i++) {
 						if(propconfig[i].property == record.get('property')) {
 							record.set('editor', propconfig[i].editor)
@@ -335,7 +335,8 @@ Ext.define('erp.controller.board', {
     		}
     		
     		var baseConfigFormValue = {
-				title: ch.getAttribute('title'),
+				titletext: ch.getAttribute('titletext'),
+				titlestyle: ch.getAttribute('titlestyle'),
 				/*allcls: ch.getAttribute('allcls'),*/
 				headerrowsstyle: ch.getAttribute('headerrowsstyle'),
 				rowsstyle: ch.getAttribute('rowsstyle'),