mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
fixed direct access to (not longer existing) egw.userData.apps[app] by using method egw.app(app)
This commit is contained in:
parent
115aabf21a
commit
61f25c05ff
@ -640,13 +640,13 @@ var et2_vfsSelect = et2_inputWidget.extend(
|
||||
.attr("src", this.egw().image("filemanager/navbar"))
|
||||
.attr("title", this.egw().lang("Select file(s) from VFS"))
|
||||
.addClass("et2_button et2_button_icon");
|
||||
this.setDOMNode(egw.userData.apps.filemanager ? this.button[0]:document.createElement('span'));
|
||||
this.setDOMNode(egw.app('filemanager') ? this.button[0]:document.createElement('span'));
|
||||
},
|
||||
|
||||
click: function(e) {
|
||||
|
||||
// No permission
|
||||
if(typeof egw.userData.apps.filemanager == 'undefined') return;
|
||||
if(!egw.app('filemanager')) return;
|
||||
|
||||
var self = this;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user