projects
/
Pman.Core
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove debug
[Pman.Core]
/
Pman.Dialog.Image.js
diff --git
a/Pman.Dialog.Image.js
b/Pman.Dialog.Image.js
index
50a667b
..
e6d58ed
100644
(file)
--- a/
Pman.Dialog.Image.js
+++ b/
Pman.Dialog.Image.js
@@
-37,7
+37,7
@@
Pman.Dialog.Image = {
this.callback = cb;
this.data = data;
this.callback = cb;
this.data = data;
- this.dialog.show
(this.data._el
);
+ this.dialog.show
.apply(this.dialog, Array.prototype.slice.call(arguments).slice(2)
);
if (this.form) {
this.form.reset();
this.form.setValues(data);
if (this.form) {
this.form.reset();
this.form.setValues(data);
@@
-319,6
+319,7
@@
Pman.Dialog.Image = {
},
{
xtype : 'TextField',
},
{
xtype : 'TextField',
+ allowBlank : false,
fieldLabel : _this._strings['ea72bacd2fdfa818907bb9559e6905a1'] /* Upload Image or File */,
inputType : 'file',
name : 'imageUpload',
fieldLabel : _this._strings['ea72bacd2fdfa818907bb9559e6905a1'] /* Upload Image or File */,
inputType : 'file',
name : 'imageUpload',