Private GIT
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Sick-Beard
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
vlbox
Sick-Beard
Commits
05db43b7
Commit
05db43b7
authored
Jun 11, 2011
by
Jonathon Saine
Browse files
Options
Downloads
Patches
Plain Diff
Fixes: more jquery 1.6.x attr->prop problems
parent
23d91506
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
data/js/rootDirs.js
+9
-9
9 additions, 9 deletions
data/js/rootDirs.js
with
9 additions
and
9 deletions
data/js/rootDirs.js
+
9
−
9
View file @
05db43b7
...
@@ -126,7 +126,7 @@ $(document).ready(function(){
...
@@ -126,7 +126,7 @@ $(document).ready(function(){
// if nothing's selected then select the default
// if nothing's selected then select the default
if
(
!
$
(
"
#rootDirs option:selected
"
).
length
&&
$
(
'
#whichDefaultRootDir
'
).
val
().
length
)
if
(
!
$
(
"
#rootDirs option:selected
"
).
length
&&
$
(
'
#whichDefaultRootDir
'
).
val
().
length
)
$
(
'
#
'
+
$
(
'
#whichDefaultRootDir
'
).
val
()).
attr
(
'
selected
'
,
'
selected
'
)
$
(
'
#
'
+
$
(
'
#whichDefaultRootDir
'
).
val
()).
prop
(
"
selected
"
,
true
)
// if something's selected then we have some behavior to figure out
// if something's selected then we have some behavior to figure out
if
(
$
(
"
#rootDirs option:selected
"
).
length
)
{
if
(
$
(
"
#rootDirs option:selected
"
).
length
)
{
...
@@ -134,9 +134,9 @@ $(document).ready(function(){
...
@@ -134,9 +134,9 @@ $(document).ready(function(){
}
}
// update the elements
// update the elements
$
(
'
#deleteRootDir
'
).
attr
(
'
disabled
'
,
do_disable
);
$
(
'
#deleteRootDir
'
).
prop
(
'
disabled
'
,
do_disable
);
$
(
'
#defaultRootDir
'
).
attr
(
'
disabled
'
,
do_disable
);
$
(
'
#defaultRootDir
'
).
prop
(
'
disabled
'
,
do_disable
);
$
(
'
#editRootDir
'
).
attr
(
'
disabled
'
,
do_disable
);
$
(
'
#editRootDir
'
).
prop
(
'
disabled
'
,
do_disable
);
var
log_str
=
''
;
var
log_str
=
''
;
var
dir_text
=
''
;
var
dir_text
=
''
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment