Commit e9cb5e28 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Fix js for when no file area owner tabs are present

parent 3e920651
......@@ -273,8 +273,10 @@ function FileBrowser(idprefix, folderid, config, globalconfig) {
var href = getNodeAttribute(this, 'href');
var params = parseQueryString(href.substring(href.indexOf('?')+1));
$(self.id + '_changefolder').value = params.folder;
if ($(self.id + '_owner')) {
$(self.id + '_owner').value = params.owner ? params.owner : '';
$(self.id + '_ownerid').value = params.ownerid ? params.ownerid : '';
}
self.submitform();
$(self.id + '_changefolder').value = '';
e.stop();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment