projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75e8628
)
Pman.Dialog.ImageUpload.js
author
Alan Knowles
<alan@akbkhome.com>
Thu, 4 Nov 2010 03:41:53 +0000
(11:41 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 4 Nov 2010 03:41:53 +0000
(11:41 +0800)
Pman.Dialog.ImageUpload.js
patch
|
blob
|
history
diff --git
a/Pman.Dialog.ImageUpload.js
b/Pman.Dialog.ImageUpload.js
index
27c5d3a
..
359d33c
100644
(file)
--- a/
Pman.Dialog.ImageUpload.js
+++ b/
Pman.Dialog.ImageUpload.js
@@
-30,6
+30,15
@@
Pman.Dialog.ImageUpload = {
this.dialog = Roo.factory({
xtype: 'LayoutDialog',
xns: Roo,
+ listeners : {
+ show : function (_self)
+ {
+ if (this.keylistener) {
+ return;
+ }
+ this.keylistener = this.addKeyListener(27, this.hide, this);
+ }
+ },
closable : false,
collapsible : false,
haveProgress : false,
@@
-80,12
+89,6
@@
Pman.Dialog.ImageUpload = {
})
},
- listeners : {
- show : function (_self)
- {
-
- }
- },
items : [
{
xtype: 'ContentPanel',