forked from extern/egroupware
W.I.P. collab editor:
- fix edit item in contextmenu not working
This commit is contained in:
@@ -359,21 +359,6 @@ app.classes.filemanager = app.classes.filemanager.extend({
|
||||
jQuery.ajax(ajaxObj);
|
||||
},
|
||||
|
||||
/**
|
||||
* Function to check wheter selected file is editable. ATM only .odt is supported.
|
||||
*
|
||||
* @param {object} _egwAction egw action object
|
||||
* @param {object} _senders object of selected row
|
||||
*
|
||||
* @returns {boolean} returns true if is editable otherwise false
|
||||
*/
|
||||
isEditable: function (_egwAction, _senders) {
|
||||
var data = egw.dataGetUIDdata(_senders[0].id),
|
||||
mime = this.et2._inst.widgetContainer.getWidgetById('$row');
|
||||
|
||||
return data.data.mime.match(mime.mime_odf_regex)?true:false;
|
||||
},
|
||||
|
||||
/**
|
||||
* Function to get full file path
|
||||
*
|
||||
|
Reference in New Issue
Block a user