Commit 5fd0cabd authored by Ruslan Kabalin's avatar Ruslan Kabalin
Browse files

filebrowser: update tags list on editing form opening (bug #653890)


Signed-off-by: default avatarRuslan Kabalin <ruslan.kabalin@luns.net.uk>
parent 5c9dc650
......@@ -250,6 +250,8 @@ function FileBrowser(idprefix, folderid, config, globalconfig) {
});
// $(self.id + '_edit_artefact').value = id; // Changes button text in IE
setNodeAttribute(self.id + '_edit_artefact', 'name', self.id + '_update[' + id + ']');
var tags_control_elem = augment_tags_control(self.id + '_edit_tags', true);
swapDOM($(self.id + '_edit_tags').parentNode.firstChild, tags_control_elem);
var edit_row = removeElement(self.id + '_edit_row');
var this_row = getFirstParentByTagAndClassName(this, 'tr');
insertSiblingNodesAfter(this_row, edit_row);
......
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