2011-10-08 23:36:38 +02:00
|
|
|
-#$("#new-member-holder").empty();
|
|
|
|
-#$("#new-member-holder").append("#{escape_javascript(render('form'))}");
|
|
|
|
:plain
|
|
|
|
var new_tm_dialog = $("<div id='new_tm_dialog'></div>");
|
|
|
|
new_tm_dialog.html("#{escape_javascript(render('form'))}");
|
|
|
|
$(new_tm_dialog).dialog({
|
|
|
|
width: 350,
|
|
|
|
resizable: false,
|
|
|
|
draggable: false,
|
|
|
|
title: "Add new member to project team",
|
|
|
|
close: function(event, ui) { $("#new_tm_dialog").remove();},
|
|
|
|
modal: true
|
|
|
|
|
|
|
|
});
|
2011-12-07 09:04:57 +01:00
|
|
|
|
|
|
|
$('#team_member_new select#team_member_user_id').chosen();
|