BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
5456b00f
Commit
5456b00f
authored
Apr 17, 2015
by
Marin Jankovski
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #8212 from dmedvinsky/fix-url-field
Fix auto-selection of URL field with X11 selection
parents
e988cdba
92544df8
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
CHANGELOG
CHANGELOG
+1
-1
application.js.coffee
app/assets/javascripts/application.js.coffee
+2
-2
_clone_panel.html.haml
app/views/shared/_clone_panel.html.haml
+1
-1
No files found.
CHANGELOG
View file @
5456b00f
Please view this file on the master branch, on stable branches it's out of date.
Please view this file on the master branch, on stable branches it's out of date.
v 7.11.0 (unreleased)
v 7.11.0 (unreleased)
-
-
Fix clone URL field and X11 Primary selection (Dmitry Medvinsky)
-
-
-
-
-
-
...
...
app/assets/javascripts/application.js.coffee
View file @
5456b00f
...
@@ -115,8 +115,8 @@ if location.hash
...
@@ -115,8 +115,8 @@ if location.hash
window
.
addEventListener
"hashchange"
,
shiftWindow
window
.
addEventListener
"hashchange"
,
shiftWindow
$
->
$
->
# Click a .
one_click_select
field, select the contents
# Click a .
js-select-on-focus
field, select the contents
$
(
".
one_click_select"
).
on
'click'
,
->
$
(
@
).
select
()
$
(
".
js-select-on-focus"
).
on
"focusin"
,
->
$
(
this
).
select
()
$
(
'.remove-row'
).
bind
'ajax:success'
,
->
$
(
'.remove-row'
).
bind
'ajax:success'
,
->
$
(
this
).
closest
(
'li'
).
fadeOut
()
$
(
this
).
closest
(
'li'
).
fadeOut
()
...
...
app/views/shared/_clone_panel.html.haml
View file @
5456b00f
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
:"data-html"
=>
"true"
,
:"data-html"
=>
"true"
,
:"data-container"
=>
"body"
}
:"data-container"
=>
"body"
}
=
gitlab_config
.
protocol
.
upcase
=
gitlab_config
.
protocol
.
upcase
=
text_field_tag
:project_clone
,
default_url_to_repo
(
project
),
class:
"
one_click_select
form-control"
,
readonly:
true
=
text_field_tag
:project_clone
,
default_url_to_repo
(
project
),
class:
"
js-select-on-focus
form-control"
,
readonly:
true
-
if
project
.
kind_of?
(
Project
)
-
if
project
.
kind_of?
(
Project
)
.input-group-addon
.input-group-addon
.visibility-level-label.has_tooltip
{
'data-title'
=>
"#{visibility_level_label(project.visibility_level)} project"
}
.visibility-level-label.has_tooltip
{
'data-title'
=>
"#{visibility_level_label(project.visibility_level)} project"
}
...
...
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