add list of shared files to filemanager and translation of sharing stuff

This commit is contained in:
Ralf Becker
2014-12-08 16:04:20 +00:00
parent 052a1e8d9f
commit 13257f09a4
9 changed files with 229 additions and 4 deletions

View File

@ -35,7 +35,7 @@ app.classes.filemanager = AppJS.extend(
{
// call parent
this._super.apply(this, arguments);
// Loading filemanager in its tab and home causes us problems with
// unwanted destruction, so we check for already existing path widgets
var lists = etemplate2.getByApplication('home');
@ -53,7 +53,7 @@ app.classes.filemanager = AppJS.extend(
*/
destroy: function()
{
delete this.et2;
delete this.et2;
// call parent
this._super.apply(this, arguments);
},
@ -64,6 +64,7 @@ app.classes.filemanager = AppJS.extend(
* make sure to clean it up in destroy().
*
* @param et2 etemplate2 Newly ready object
* @param {string} name template name
*/
et2_ready: function(et2,name)
{
@ -149,6 +150,7 @@ app.classes.filemanager = AppJS.extend(
/**
* Get current working directory
*
* @param {string} etemplate_name
* @return string
*/
get_path: function(etemplate_name)
@ -578,7 +580,8 @@ app.classes.filemanager = AppJS.extend(
/**
* Change directory
*
* @param _dir directory to change to incl. '..' for one up
* @param {string} _dir directory to change to incl. '..' for one up
* @param {et2_widget} widget
*/
change_dir: function(_dir, widget)
{