mirror of
https://github.com/redmine/redmine.git
synced 2025-11-17 18:50:53 +01:00
Displays the full form when creating a version from the issue form so that required custom fields can be filled (#7398).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8845 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -321,7 +321,12 @@ function showModal(id, width) {
|
||||
}
|
||||
|
||||
function hideModal(el) {
|
||||
var modal = Element.up(el, 'div.modal');
|
||||
var modal;
|
||||
if (el) {
|
||||
modal = Element.up(el, 'div.modal');
|
||||
} else {
|
||||
modal = $('ajax-modal');
|
||||
}
|
||||
if (modal) {
|
||||
modal.hide();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user