Skip to content

Commit

Permalink
set up role help even with z.noEdit (bug 623337)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff Balogh committed Jan 5, 2011
1 parent 588d108 commit eb0bcd2
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions media/js/zamboni/devhub.js
Original file line number Diff line number Diff line change
Expand Up @@ -883,7 +883,11 @@ function initLicenseFields() {
}

function initAuthorFields() {
// Add the help line after the blank author row.
$('#author-roles-help').popup('#what-are-roles', {pointTo: $('#what-are-roles') });

if (z.noEdit) return;

var request = false,
timeout = false,
manager = $("#id_form-TOTAL_FORMS"),
Expand All @@ -898,9 +902,6 @@ function initAuthorFields() {
});
addAuthorRow();

// Add the help line after the blank author row.
$('#author-roles-help').popup('#what-are-roles', {pointTo: $('#what-are-roles') });

$(".author .errorlist").each(function() {
$(this).parent()
.find(".email-autocomplete")
Expand Down

0 comments on commit eb0bcd2

Please sign in to comment.