[DE] Compare: use loading from fileChoiceUrl
This commit is contained in:
parent
5c05508dcf
commit
3facb70eba
|
@ -595,14 +595,15 @@ define([
|
||||||
}
|
}
|
||||||
})).show();
|
})).show();
|
||||||
} else if (item === 'storage') {
|
} else if (item === 'storage') {
|
||||||
|
var me = this;
|
||||||
// if (this.appConfig.canRequestCompareFile) {
|
// if (this.appConfig.canRequestCompareFile) {
|
||||||
// Common.Gateway.requestCompareFile();
|
// Common.Gateway.requestCompareFile();
|
||||||
// } else {
|
// } else {
|
||||||
// (new Common.Views.SelectFileDlg({
|
(new Common.Views.SelectFileDlg({
|
||||||
// fileChoiceUrl: this.toolbar.mode.fileChoiceUrl.replace("{fileExt}", "").replace("{documentType}", "DocumentsOnly")
|
fileChoiceUrl: this.appConfig.fileChoiceUrl.replace("{fileExt}", "").replace("{documentType}", "DocumentsOnly")
|
||||||
// })).on('comparefile', function(obj, file){
|
})).on('selectfile', function(obj, file){
|
||||||
// me.compareFile(file, me._state.compareSettings);
|
me.compareFile(file, me._state.compareSettings);
|
||||||
// }).show();
|
}).show();
|
||||||
// }
|
// }
|
||||||
} else if (item === 'settings') {
|
} else if (item === 'settings') {
|
||||||
var me = this;
|
var me = this;
|
||||||
|
|
Loading…
Reference in a new issue