Merge "Fix auto-filled object names enabling upload button"

This commit is contained in:
Jenkins 2014-09-10 09:21:49 +00:00 committed by Gerrit Code Review
commit e68f63f03c

View File

@ -80,6 +80,7 @@ horizon.forms = {
if (typeof($obj_name.val()) === 'undefined' || $(this).attr("filename").localeCompare($obj_name.val()) === 0) {
$obj_name.val($filename);
$(this).attr("filename", $filename);
$obj_name.trigger('input');
}
});
},