projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
50f503a
)
add allow blank to file upload
author
Alan
<alan@roojs.com>
Wed, 7 Feb 2024 02:08:34 +0000
(10:08 +0800)
committer
Alan
<alan@roojs.com>
Wed, 7 Feb 2024 02:08:34 +0000
(10:08 +0800)
Pman.Dialog.Image.bjs
patch
|
blob
|
history
Pman.Dialog.Image.js
patch
|
blob
|
history
diff --git
a/Pman.Dialog.Image.bjs
b/Pman.Dialog.Image.bjs
index
b733269
..
7e770d8
100644
(file)
--- a/
Pman.Dialog.Image.bjs
+++ b/
Pman.Dialog.Image.bjs
@@
-1,4
+1,5
@@
{
+ "gen_extended" : false,
"items" : [
{
"$ uploadProgress" : [
@@
-101,6
+102,7
@@
},
{
"$ xns" : "Roo.form",
+ "Boolean allowBlank" : false,
"fieldLabel" : "Upload Image or File",
"inputType" : "file",
"name" : "imageUpload",
@@
-383,7
+385,6
@@
"upload_max_filesize_value" : "eb5d45750c7ab13aa8e6bacc80315a30"
},
"parent" : "",
- "path" : "/home/leon/gitlive/web.MediaOutreach/Pman/Core/Pman.Dialog.Image.bjs",
"permname" : "",
"strings" : {
"1243daf593fa297e07ab03bf06d925af" : "Searching...",
diff --git
a/Pman.Dialog.Image.js
b/Pman.Dialog.Image.js
index
44df2c4
..
e6d58ed
100644
(file)
--- a/
Pman.Dialog.Image.js
+++ b/
Pman.Dialog.Image.js
@@
-319,6
+319,7
@@
Pman.Dialog.Image = {
},
{
xtype : 'TextField',
+ allowBlank : false,
fieldLabel : _this._strings['ea72bacd2fdfa818907bb9559e6905a1'] /* Upload Image or File */,
inputType : 'file',
name : 'imageUpload',