Add support for multiple email addresses per user (#4244).

git-svn-id: http://svn.redmine.org/redmine/trunk@13886 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2015-01-17 14:14:12 +00:00
parent 7f29c2fd88
commit e3618bdbec
65 changed files with 764 additions and 116 deletions

View File

@@ -378,10 +378,10 @@ function setPredecessorFieldsVisibility() {
}
}
function showModal(id, width) {
function showModal(id, width, title) {
var el = $('#'+id).first();
if (el.length === 0 || el.is(':visible')) {return;}
var title = el.find('h3.title').text();
if (!title) title = el.find('h3.title').text();
el.dialog({
width: width,
modal: true,