Browse
For agents
About
Polylang
/
0.9
Polylang
v0.9
Switch version
3.8.9
3.8.8
3.8.7
3.8.6
3.8.5
3.8.4
3.8.3
2.7
2.7.0.1
2.7.1
2.7.2
2.7.3
2.7.4
2.8
2.8.1
2.8.2
2.8.3
2.8.4
2.9
2.9.1
2.9.2
3.0
3.0.1
3.0.2
3.0.3
All 233 releases
Overview
Code
polylang
/
js
/
admin.js
admin.js
in Polylang 0.9, at js/admin.js
2 lines
333 B
Find file
t
No matching file
Up and down to move
Enter to open
Esc to close
Raw
Download
Zip
View raw
1
jQuery
(
document
)
.
ready
(
function
(
a
)
{
a
(
"
#lang_list
"
)
.
change
(
function
(
)
{
value
=
a
(
this
)
.
attr
(
"
value
"
)
.
split
(
"
-
"
)
;
selected
=
a
(
"
select option:selected
"
)
.
text
(
)
.
split
(
"
-
"
)
;
a
(
'
input[name="slug"]
'
)
.
val
(
value
[
0
]
)
;
a
(
'
input[name="description"]
'
)
.
val
(
value
[
1
]
)
;
a
(
'
input[name="rtl"]
'
)
.
val
(
[
value
[
2
]
]
)
;
a
(
'
input[name="name"]
'
)
.
val
(
selected
[
0
]
)
}
)
}
)
2