|
|
@ -59,7 +59,7 @@ export class FileUpload extends BI.Widget { |
|
|
|
items: [ |
|
|
|
items: [ |
|
|
|
{ |
|
|
|
{ |
|
|
|
type: BI.SignEditor.xtype, |
|
|
|
type: BI.SignEditor.xtype, |
|
|
|
cls: 'bi-border bi-focus-shadow', |
|
|
|
cls: 'bi-border-bottom bi-focus-shadow', |
|
|
|
width: 300, |
|
|
|
width: 300, |
|
|
|
height: 22, |
|
|
|
height: 22, |
|
|
|
watermark, |
|
|
|
watermark, |
|
|
@ -144,9 +144,9 @@ export class FileUpload extends BI.Widget { |
|
|
|
this.fileModified = _ref; |
|
|
|
this.fileModified = _ref; |
|
|
|
}, |
|
|
|
}, |
|
|
|
}] |
|
|
|
}] |
|
|
|
|
|
|
|
|
|
|
|
}], |
|
|
|
}], |
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
tgap: 14, |
|
|
|
tgap: 14, |
|
|
|
lgap: 4, |
|
|
|
lgap: 4, |
|
|
@ -155,7 +155,7 @@ export class FileUpload extends BI.Widget { |
|
|
|
type: BI.IconButton.xtype, |
|
|
|
type: BI.IconButton.xtype, |
|
|
|
cls: "default-delete-font", |
|
|
|
cls: "default-delete-font", |
|
|
|
handler: function () { |
|
|
|
handler: function () { |
|
|
|
NProgress.set(0.0);
|
|
|
|
NProgress.set(0.0); |
|
|
|
self.xhr.abort(); |
|
|
|
self.xhr.abort(); |
|
|
|
self.store.setFileName(''); |
|
|
|
self.store.setFileName(''); |
|
|
|
self.clearInfo(); |
|
|
|
self.clearInfo(); |
|
|
|