标签:style blog class code c java
Ext.define("MyButton", {
extend : "Ext.Button",
text : "ckfinder",
initComponent : function() {
var me = this;
Ext.apply(me, {
handler : me.handlerClick
});
me.callParent();
},
handlerClick : function(btn) {
var finder = new CKFinder();
finder.selectActionFunction = Ext.bind(btn.SetFileField, btn);
finder.popup();
},
SetFileField : function(fileUrl) {
console.log(fileUrl);
}
});
CKFinder 弹出窗口操作并设置回调函数,布布扣,bubuko.com
标签:style blog class code c java
原文地址:http://www.cnblogs.com/daxin/p/3730094.html