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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
c78393ec
Commit
c78393ec
authored
Jun 21, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove $.ready events
parent
8c918e58
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
25 additions
and
35 deletions
+25
-35
app/views/compare/_form.html.haml
app/views/compare/_form.html.haml
+6
-8
app/views/layouts/_init_auto_complete.html.haml
app/views/layouts/_init_auto_complete.html.haml
+3
-5
app/views/merge_requests/_form.html.haml
app/views/merge_requests/_form.html.haml
+10
-12
app/views/milestones/_form.html.haml
app/views/milestones/_form.html.haml
+5
-7
app/views/search/_result.html.haml
app/views/search/_result.html.haml
+1
-3
No files found.
app/views/compare/_form.html.haml
View file @
c78393ec
...
...
@@ -27,7 +27,6 @@
:javascript
$
(
function
()
{
var
availableTags
=
#{
@project
.
repository
.
ref_names
.
to_json
}
;
$
(
"
#from, #to
"
).
autocomplete
({
...
...
@@ -36,4 +35,3 @@
});
disableButtonIfEmptyField
(
'
#to
'
,
'
.commits-compare-btn
'
);
});
app/views/layouts/_init_auto_complete.html.haml
View file @
c78393ec
:javascript
$
(
function
()
{
GitLab
.
GfmAutoComplete
.
dataSource
=
"
#{
autocomplete_sources_project_path
(
@project
)
}
"
GitLab
.
GfmAutoComplete
.
Emoji
.
assetBase
=
'
#{
image_path
(
"emoji"
)
}
'
GitLab
.
GfmAutoComplete
.
setup
();
});
app/views/merge_requests/_form.html.haml
View file @
c78393ec
...
...
@@ -62,7 +62,6 @@
Cancel
:javascript
$
(
function
(){
disableButtonIfEmptyField
(
"
#merge_request_title
"
,
"
.btn-save
"
);
var
source_branch
=
$
(
"
#merge_request_source_branch
"
)
...
...
@@ -78,4 +77,3 @@
target_branch
.
live
(
"
change
"
,
function
()
{
$
.
get
(
"
#{
branch_to_project_merge_requests_path
(
@project
)
}
"
,
{
ref
:
$
(
this
).
val
()
});
});
});
app/views/milestones/_form.html.haml
View file @
c78393ec
...
...
@@ -40,10 +40,8 @@
:javascript
$
(
function
()
{
disableButtonIfEmptyField
(
"
#milestone_title
"
,
"
.btn-save
"
);
$
(
"
.datepicker
"
).
datepicker
({
dateFormat
:
"
yy-mm-dd
"
,
onSelect
:
function
(
dateText
,
inst
)
{
$
(
"
#milestone_due_date
"
).
val
(
dateText
)
}
}).
datepicker
(
"
setDate
"
,
$
.
datepicker
.
parseDate
(
'
yy-mm-dd
'
,
$
(
'
#milestone_due_date
'
).
val
()));
});
app/views/search/_result.html.haml
View file @
c78393ec
...
...
@@ -49,7 +49,5 @@
=
paginate
@blobs
,
theme:
'gitlab'
:javascript
$
(
function
()
{
$
(
"
.search_results .term
"
).
highlight
(
"
#{
escape_javascript
(
params
[
:search
])
}
"
);
})
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