Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
1c015368
Commit
1c015368
authored
Sep 09, 2012
by
Robert Speicher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix spelling of "empty" in disableButtonIfEmptyField function name
parent
ebd2a5d0
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
7 deletions
+7
-7
app/assets/javascripts/issues.js
app/assets/javascripts/issues.js
+2
-2
app/assets/javascripts/note.js
app/assets/javascripts/note.js
+2
-2
app/assets/javascripts/projects.js.coffee
app/assets/javascripts/projects.js.coffee
+1
-1
app/views/merge_requests/_form.html.haml
app/views/merge_requests/_form.html.haml
+1
-1
app/views/milestones/_form.html.haml
app/views/milestones/_form.html.haml
+1
-1
No files found.
app/assets/javascripts/issues.js
View file @
1c015368
...
...
@@ -5,7 +5,7 @@ function switchToNewIssue(form){
$
(
'
select#issue_milestone_id
'
).
chosen
();
$
(
"
#new_issue_dialog
"
).
show
(
"
fade
"
,
{
direction
:
"
right
"
},
150
);
$
(
'
.top-tabs .add_new
'
).
hide
();
disableButtonIfEm
tp
yField
(
"
#issue_title
"
,
"
.save-btn
"
);
disableButtonIfEm
pt
yField
(
"
#issue_title
"
,
"
.save-btn
"
);
});
}
...
...
@@ -16,7 +16,7 @@ function switchToEditIssue(form){
$
(
'
select#issue_milestone_id
'
).
chosen
();
$
(
"
#edit_issue_dialog
"
).
show
(
"
fade
"
,
{
direction
:
"
right
"
},
150
);
$
(
'
.add_new
'
).
hide
();
disableButtonIfEm
tp
yField
(
"
#issue_title
"
,
"
.save-btn
"
);
disableButtonIfEm
pt
yField
(
"
#issue_title
"
,
"
.save-btn
"
);
});
}
...
...
app/assets/javascripts/note.js
View file @
1c015368
...
...
@@ -32,7 +32,7 @@ var NoteList = {
$
(
"
.submit_note
"
).
removeAttr
(
"
disabled
"
);
})
disableButtonIfEm
tp
yField
(
"
.note-text
"
,
"
.submit_note
"
);
disableButtonIfEm
pt
yField
(
"
.note-text
"
,
"
.submit_note
"
);
$
(
"
.note-text
"
).
live
(
"
focus
"
,
function
(){
$
(
this
).
css
(
"
height
"
,
"
80px
"
);
...
...
@@ -177,6 +177,6 @@ var PerLineNotes = {
form
.
show
();
return
false
;
});
disableButtonIfEm
tp
yField
(
"
.line-note-text
"
,
"
.submit_inline_note
"
);
disableButtonIfEm
pt
yField
(
"
.line-note-text
"
,
"
.submit_inline_note
"
);
}
}
app/assets/javascripts/projects.js.coffee
View file @
1c015368
...
...
@@ -8,7 +8,7 @@ window.Projects = ->
$
(
'.save-project-loader'
).
show
()
$
(
'form #project_default_branch'
).
chosen
()
disableButtonIfEm
tp
yField
'#project_name'
,
'.project-submit'
disableButtonIfEm
pt
yField
'#project_name'
,
'.project-submit'
# Git clone panel switcher
$
->
...
...
app/views/merge_requests/_form.html.haml
View file @
1c015368
...
...
@@ -60,7 +60,7 @@
:javascript
$
(
function
(){
disableButtonIfEm
tp
yField
(
"
#merge_request_title
"
,
"
.save-btn
"
);
disableButtonIfEm
pt
yField
(
"
#merge_request_title
"
,
"
.save-btn
"
);
$
(
'
select#merge_request_assignee_id
'
).
chosen
();
$
(
'
select#merge_request_source_branch
'
).
chosen
();
$
(
'
select#merge_request_target_branch
'
).
chosen
();
...
...
app/views/milestones/_form.html.haml
View file @
1c015368
...
...
@@ -41,7 +41,7 @@
:javascript
$
(
function
()
{
disableButtonIfEm
tp
yField
(
"
#milestone_title
"
,
"
.save-btn
"
);
disableButtonIfEm
pt
yField
(
"
#milestone_title
"
,
"
.save-btn
"
);
$
(
"
.datepicker
"
).
datepicker
({
dateFormat
:
"
yy-mm-dd
"
,
onSelect
:
function
(
dateText
,
inst
)
{
$
(
"
#milestone_due_date
"
).
val
(
dateText
)
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment