1 //<script type="text/javascript">
3 // Auto generated file - created by app.Builder.js- do not edit directly (at present!)
5 Roo.namespace('Pman.Dialog');
7 Pman.Dialog.Image= function() {}
8 Roo.apply(Pman.Dialog.Image.prototype, {
11 'ef797d5638c2e1c6b6225b2247541ea5' :"Upload Image or File:",
12 '2859a4ae58ae4e25abdfc530f814e42f' :"Upload an Image or File",
13 'ea4788705e6873b424c65e91c2846b19' :"Cancel",
14 'e635032a5f71d809146d3872389f5b0c' :"Choose File",
15 '91412465ea9169dfd901dd5e7c96dd99' :"Upload"
21 show : function(data, cb)
29 this.dialog.show(this.data._el);
32 this.form.setValues(data);
33 this.form.fireEvent('actioncomplete', this.form, { type: 'setdata', data: data });
41 this.dialog = Roo.factory({
43 title : _this._strings['2859a4ae58ae4e25abdfc530f814e42f'] /* Upload an Image or File */,
45 '|xns' : 'Roo.bootstrap',
49 html : _this._strings['ea4788705e6873b424c65e91c2846b19'] /* Cancel */,
51 click : function (_self, e)
55 //_this.dialog.el.mask("Sending");
56 _this.dialog.uploadComplete = false;
57 _this.form.doAction('submit', {
62 _this.dialog.haveProgress = 0; // set to show..
63 _this.dialog.uploadProgress.defer(1000, _this.dialog);
68 '|xns' : 'Roo.bootstrap'
72 html : _this._strings['91412465ea9169dfd901dd5e7c96dd99'] /* Upload */,
74 click : function (_self, e)
78 //_this.dialog.el.mask("Sending");
79 _this.dialog.uploadComplete = false;
80 _this.form.doAction('submit', {
85 _this.dialog.haveProgress = 0; // set to show..
86 _this.dialog.uploadProgress.defer(1000, _this.dialog);
91 '|xns' : 'Roo.bootstrap'
97 style : 'width: 100%',
99 '|xns' : 'Roo.bootstrap',
104 '|xns' : 'Roo.bootstrap',
108 fieldLabel : _this._strings['ef797d5638c2e1c6b6225b2247541ea5'] /* Upload Image or File: */,
111 '|xns' : 'Roo.bootstrap',
114 html : _this._strings['e635032a5f71d809146d3872389f5b0c'] /* Choose File */,
116 '|xns' : 'Roo.bootstrap'
121 inputType : 'hidden',
122 name : 'UPLOAD_IDENTIFIER',
124 '|xns' : 'Roo.bootstrap'
128 inputType : 'hidden',
129 name : 'post_max_size',
131 '|xns' : 'Roo.bootstrap'
135 inputType : 'hidden',
136 name : 'upload_max_filesize',
138 '|xns' : 'Roo.bootstrap'
142 inputType : 'hidden',
145 '|xns' : 'Roo.bootstrap'
149 inputType : 'hidden',
152 '|xns' : 'Roo.bootstrap'
156 inputType : 'hidden',
159 '|xns' : 'Roo.bootstrap'
169 Roo.apply(Pman.Dialog.Image, Pman.Dialog.Image.prototype);