Fix spelling of "empty" in disableButtonIfEmptyField function name
This commit is contained in:
parent
ebd2a5d0ce
commit
1c01536829
|
@ -5,7 +5,7 @@ function switchToNewIssue(form){
|
||||||
$('select#issue_milestone_id').chosen();
|
$('select#issue_milestone_id').chosen();
|
||||||
$("#new_issue_dialog").show("fade", { direction: "right" }, 150);
|
$("#new_issue_dialog").show("fade", { direction: "right" }, 150);
|
||||||
$('.top-tabs .add_new').hide();
|
$('.top-tabs .add_new').hide();
|
||||||
disableButtonIfEmtpyField("#issue_title", ".save-btn");
|
disableButtonIfEmptyField("#issue_title", ".save-btn");
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@ function switchToEditIssue(form){
|
||||||
$('select#issue_milestone_id').chosen();
|
$('select#issue_milestone_id').chosen();
|
||||||
$("#edit_issue_dialog").show("fade", { direction: "right" }, 150);
|
$("#edit_issue_dialog").show("fade", { direction: "right" }, 150);
|
||||||
$('.add_new').hide();
|
$('.add_new').hide();
|
||||||
disableButtonIfEmtpyField("#issue_title", ".save-btn");
|
disableButtonIfEmptyField("#issue_title", ".save-btn");
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,7 @@ var NoteList = {
|
||||||
$(".submit_note").removeAttr("disabled");
|
$(".submit_note").removeAttr("disabled");
|
||||||
})
|
})
|
||||||
|
|
||||||
disableButtonIfEmtpyField(".note-text", ".submit_note");
|
disableButtonIfEmptyField(".note-text", ".submit_note");
|
||||||
|
|
||||||
$(".note-text").live("focus", function(){
|
$(".note-text").live("focus", function(){
|
||||||
$(this).css("height", "80px");
|
$(this).css("height", "80px");
|
||||||
|
@ -177,6 +177,6 @@ var PerLineNotes = {
|
||||||
form.show();
|
form.show();
|
||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
disableButtonIfEmtpyField(".line-note-text", ".submit_inline_note");
|
disableButtonIfEmptyField(".line-note-text", ".submit_inline_note");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,7 +8,7 @@ window.Projects = ->
|
||||||
$('.save-project-loader').show()
|
$('.save-project-loader').show()
|
||||||
|
|
||||||
$('form #project_default_branch').chosen()
|
$('form #project_default_branch').chosen()
|
||||||
disableButtonIfEmtpyField '#project_name', '.project-submit'
|
disableButtonIfEmptyField '#project_name', '.project-submit'
|
||||||
|
|
||||||
# Git clone panel switcher
|
# Git clone panel switcher
|
||||||
$ ->
|
$ ->
|
||||||
|
|
|
@ -60,7 +60,7 @@
|
||||||
|
|
||||||
:javascript
|
:javascript
|
||||||
$(function(){
|
$(function(){
|
||||||
disableButtonIfEmtpyField("#merge_request_title", ".save-btn");
|
disableButtonIfEmptyField("#merge_request_title", ".save-btn");
|
||||||
$('select#merge_request_assignee_id').chosen();
|
$('select#merge_request_assignee_id').chosen();
|
||||||
$('select#merge_request_source_branch').chosen();
|
$('select#merge_request_source_branch').chosen();
|
||||||
$('select#merge_request_target_branch').chosen();
|
$('select#merge_request_target_branch').chosen();
|
||||||
|
|
|
@ -41,7 +41,7 @@
|
||||||
|
|
||||||
:javascript
|
:javascript
|
||||||
$(function() {
|
$(function() {
|
||||||
disableButtonIfEmtpyField("#milestone_title", ".save-btn");
|
disableButtonIfEmptyField("#milestone_title", ".save-btn");
|
||||||
$( ".datepicker" ).datepicker({
|
$( ".datepicker" ).datepicker({
|
||||||
dateFormat: "yy-mm-dd",
|
dateFormat: "yy-mm-dd",
|
||||||
onSelect: function(dateText, inst) { $("#milestone_due_date").val(dateText) }
|
onSelect: function(dateText, inst) { $("#milestone_due_date").val(dateText) }
|
||||||
|
|
Loading…
Reference in a new issue