X-Git-Url: http://git.roojs.org/?p=roojs1;a=blobdiff_plain;f=roojs-bootstrap-debug.js;h=c88dee99cd7e67fe39a3fbf1481da5ad424d58ed;hp=3216ddc043bc0d4874c9d1ad700a1daab73afe68;hb=e599b9bdeca13a5523e8880f93a34825051622fb;hpb=08476adcea7a25008953a3c0051d9a1222074104 diff --git a/roojs-bootstrap-debug.js b/roojs-bootstrap-debug.js index 3216ddc043..c88dee99cd 100644 --- a/roojs-bootstrap-debug.js +++ b/roojs-bootstrap-debug.js @@ -667,7 +667,9 @@ Roo.bootstrap.Element = function(config){ * @param {Roo.bootstrap.Element} this * @param {Roo.EventObject} e */ - "click" : true + "click" : true + + }); }; @@ -678,6 +680,7 @@ Roo.extend(Roo.bootstrap.Element, Roo.bootstrap.Component, { html: '', preventDefault: false, clickable: false, + tapedTwice : false, getAutoCreate : function(){ @@ -698,6 +701,7 @@ Roo.extend(Roo.bootstrap.Element, Roo.bootstrap.Component, { this.el.on('click', this.onClick, this); } + }, onClick : function(e) @@ -706,9 +710,14 @@ Roo.extend(Roo.bootstrap.Element, Roo.bootstrap.Component, { e.preventDefault(); } - this.fireEvent('click', this, e); + this.fireEvent('dblclick', this, e); }, + + + + + getValue : function() { return this.el.dom.innerHTML; @@ -2028,8 +2037,8 @@ Roo.bootstrap.Card = function(config){ * @param {Roo.bootstrap.Card} this * @param {Object} data from dragdrop */ - 'cardover' : true - + 'cardover' : true + }); };