Browse
For agents
About
Gianism
/
3.0.1
Gianism
v3.0.1
Switch version
4.3.0
4.3.1
4.3.2
4.3.3
4.3.4
4.4.0
5.0.0
5.0.1
5.0.2
5.1.0
5.2.1
5.2.2
5.3.0
6.0.0
6.0.1
trunk
1.0
1.1
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
All 65 releases
Overview
Code
gianism
/
src
/
js
/
admin-helper.js
admin-helper.js
in Gianism 3.0.1, at src/js/admin-helper.js
14 lines
331 B
Find file
t
No matching file
Up and down to move
Enter to open
Esc to close
Raw
Download
Zip
View raw
1
/*
!
2
* Admin screen helper for Gianism
3
*/
4
5
jQuery
(
document
)
.
ready
(
function
(
$
)
{
6
7
"
use strict
"
;
8
9
//
Create appendix
10
$
(
'
.gianism-wrap
'
)
.
find
(
'
h3,caption
'
)
.
each
(
function
(
index
,
elt
)
{
11
$
(
elt
)
.
attr
(
'
id
'
,
'
index_
'
+
index
)
;
12
$
(
'
#index-list
'
)
.
append
(
'
<li><a href="#index_
'
+
index
+
'
">
'
+
$
(
elt
)
.
text
(
)
+
'
</a></li>
'
)
;
13
}
)
;
14
}
)
;