File select fixes:

- some layout issues
- selecting a single file
- missing mime options
- file uploads
This commit is contained in:
Nathan Gray
2013-10-04 09:28:10 +00:00
parent f8cb87e5a4
commit 8c94a4fd19
4 changed files with 19 additions and 12 deletions

View File

@@ -669,8 +669,11 @@ app.filemanager = AppJS.extend(
select_show: function(file)
{
var editfield = document.getElementById("exec[name]");
editfield.value = file;
var editfield = this.et2.getWidgetById('name');
if(editfield)
{
editfield.set_value(file);
}
return false;
},
select_toggle: function(file,widget)