projects
/
Pman.Core
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Pman.Dialog.Image.bjs
[Pman.Core]
/
Pman.Dialog.Image.js
diff --git
a/Pman.Dialog.Image.js
b/Pman.Dialog.Image.js
index
e7065da
..
165816a
100644
(file)
--- a/
Pman.Dialog.Image.js
+++ b/
Pman.Dialog.Image.js
@@
-57,11
+57,17
@@
Pman.Dialog.Image = {
if (!dlg.haveProgress) {
Roo.MessageBox.progress("Uploading", "Uploading");
}
if (!dlg.haveProgress) {
Roo.MessageBox.progress("Uploading", "Uploading");
}
+
+ if (dlg.haveProgress == 2) {
+ // it's been closed elsewhere..
+ return;
+ }
if (dlg.uploadComplete) {
Roo.MessageBox.hide();
return;
}
if (dlg.uploadComplete) {
Roo.MessageBox.hide();
return;
}
- dlg.haveProgress = true;
+
+ dlg.haveProgress = 1;
var uid = _this.form.findField('UPLOAD_IDENTIFIER').getValue();
Pman.request({
var uid = _this.form.findField('UPLOAD_IDENTIFIER').getValue();
Pman.request({