Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
dadigang
Ventoy
Commits
76a6b806
Commit
76a6b806
authored
Jan 11, 2022
by
longpanda
Browse files
fix plugson page language issue
parent
036b58ff
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
17 additions
and
9 deletions
+17
-9
Plugson/www/plugson_auto_install.html
Plugson/www/plugson_auto_install.html
+9
-4
Plugson/www/plugson_control.html
Plugson/www/plugson_control.html
+1
-1
Plugson/www/plugson_image_list.html
Plugson/www/plugson_image_list.html
+1
-1
Plugson/www/plugson_persistence.html
Plugson/www/plugson_persistence.html
+5
-2
Plugson/www/plugson_theme.html
Plugson/www/plugson_theme.html
+1
-1
No files found.
Plugson/www/plugson_auto_install.html
View file @
76a6b806
...
@@ -107,8 +107,8 @@
...
@@ -107,8 +107,8 @@
var
id
=
$
(
this
).
attr
(
'
id
'
);
var
id
=
$
(
this
).
attr
(
'
id
'
);
var
value
=
$
(
this
).
val
();
var
value
=
$
(
this
).
val
();
var
intval
;
var
intval
;
if
(
id
.
length
<=
16
)
{
if
(
typeof
(
id
)
==
'
undefined
'
||
id
.
length
<=
16
)
{
return
;
return
;
}
}
...
@@ -146,7 +146,7 @@
...
@@ -146,7 +146,7 @@
var
id
=
$
(
this
).
attr
(
'
id
'
);
var
id
=
$
(
this
).
attr
(
'
id
'
);
var
checked
=
$
(
this
).
is
(
'
:checked
'
);
var
checked
=
$
(
this
).
is
(
'
:checked
'
);
if
(
id
.
length
<=
14
)
{
if
(
typeof
(
id
)
==
'
undefined
'
||
id
.
length
<=
14
)
{
return
;
return
;
}
}
...
@@ -279,7 +279,9 @@
...
@@ -279,7 +279,9 @@
$
(
'
input[type=text]
'
).
each
(
function
(){
$
(
'
input[type=text]
'
).
each
(
function
(){
var
id
=
$
(
this
).
attr
(
'
id
'
);
var
id
=
$
(
this
).
attr
(
'
id
'
);
if
(
typeof
(
id
)
==
'
undefined
'
)
{
return
;
}
if
(
id
.
startsWith
(
'
id_text_timeout_
'
)
||
id
.
startsWith
(
'
id_text_autosel_
'
))
{
if
(
id
.
startsWith
(
'
id_text_timeout_
'
)
||
id
.
startsWith
(
'
id_text_autosel_
'
))
{
$
(
this
).
change
(
OnInputTextChange
);
$
(
this
).
change
(
OnInputTextChange
);
}
}
...
@@ -287,6 +289,9 @@
...
@@ -287,6 +289,9 @@
$
(
'
input[type=checkbox]
'
).
each
(
function
(){
$
(
'
input[type=checkbox]
'
).
each
(
function
(){
var
id
=
$
(
this
).
attr
(
'
id
'
);
var
id
=
$
(
this
).
attr
(
'
id
'
);
if
(
typeof
(
id
)
==
'
undefined
'
)
{
return
;
}
if
(
id
.
startsWith
(
'
id_timeout_en_
'
)
||
id
.
startsWith
(
'
id_autosel_en_
'
))
{
if
(
id
.
startsWith
(
'
id_timeout_en_
'
)
||
id
.
startsWith
(
'
id_autosel_en_
'
))
{
$
(
this
).
click
(
OnCheckBoxChange
);
$
(
this
).
click
(
OnCheckBoxChange
);
}
}
...
...
Plugson/www/plugson_control.html
View file @
76a6b806
...
@@ -1182,7 +1182,7 @@
...
@@ -1182,7 +1182,7 @@
$
(
'
input[type=radio]
'
).
each
(
function
(){
$
(
'
input[type=radio]
'
).
each
(
function
(){
var
id
=
$
(
this
).
attr
(
'
id
'
);
var
id
=
$
(
this
).
attr
(
'
id
'
);
if
(
id
.
startsWith
(
'
id_ctrl
'
))
{
if
(
typeof
(
id
)
!=
'
undefined
'
&&
id
.
startsWith
(
'
id_ctrl
'
))
{
$
(
this
).
change
(
VtoySaveCurrentPage
);
$
(
this
).
change
(
VtoySaveCurrentPage
);
}
}
});
});
...
...
Plugson/www/plugson_image_list.html
View file @
76a6b806
...
@@ -176,7 +176,7 @@
...
@@ -176,7 +176,7 @@
$
(
'
input[type=radio]
'
).
each
(
function
(){
$
(
'
input[type=radio]
'
).
each
(
function
(){
var
id
=
$
(
this
).
attr
(
'
id
'
);
var
id
=
$
(
this
).
attr
(
'
id
'
);
if
(
id
.
startsWith
(
'
id_image_list_type
'
))
{
if
(
typeof
(
id
)
!=
'
undefined
'
&&
id
.
startsWith
(
'
id_image_list_type
'
))
{
$
(
this
).
change
(
VtoySaveCurrentPage
);
$
(
this
).
change
(
VtoySaveCurrentPage
);
}
}
});
});
...
...
Plugson/www/plugson_persistence.html
View file @
76a6b806
...
@@ -108,7 +108,7 @@
...
@@ -108,7 +108,7 @@
var
value
=
$
(
this
).
val
();
var
value
=
$
(
this
).
val
();
var
intval
;
var
intval
;
if
(
id
.
length
<=
16
)
{
if
(
typeof
(
id
)
==
'
undefined
'
||
id
.
length
<=
16
)
{
return
;
return
;
}
}
...
@@ -146,7 +146,7 @@
...
@@ -146,7 +146,7 @@
var
id
=
$
(
this
).
attr
(
'
id
'
);
var
id
=
$
(
this
).
attr
(
'
id
'
);
var
checked
=
$
(
this
).
is
(
'
:checked
'
);
var
checked
=
$
(
this
).
is
(
'
:checked
'
);
if
(
id
.
length
<=
14
)
{
if
(
typeof
(
id
)
==
'
undefined
'
||
id
.
length
<=
14
)
{
return
;
return
;
}
}
...
@@ -280,6 +280,9 @@
...
@@ -280,6 +280,9 @@
$
(
'
input[type=text]
'
).
each
(
function
(){
$
(
'
input[type=text]
'
).
each
(
function
(){
var
id
=
$
(
this
).
attr
(
'
id
'
);
var
id
=
$
(
this
).
attr
(
'
id
'
);
if
(
typeof
(
id
)
==
'
undefined
'
)
{
retunrn
;
}
if
(
id
.
startsWith
(
'
id_text_timeout_
'
)
||
id
.
startsWith
(
'
id_text_autosel_
'
))
{
if
(
id
.
startsWith
(
'
id_text_timeout_
'
)
||
id
.
startsWith
(
'
id_text_autosel_
'
))
{
$
(
this
).
change
(
OnInputTextChange
);
$
(
this
).
change
(
OnInputTextChange
);
...
...
Plugson/www/plugson_theme.html
View file @
76a6b806
...
@@ -299,7 +299,7 @@
...
@@ -299,7 +299,7 @@
$
(
'
input[type=radio]
'
).
each
(
function
(){
$
(
'
input[type=radio]
'
).
each
(
function
(){
var
id
=
$
(
this
).
attr
(
'
id
'
);
var
id
=
$
(
this
).
attr
(
'
id
'
);
if
(
id
.
startsWith
(
'
id_theme_file
'
))
{
if
(
typeof
(
id
)
!=
'
undefined
'
&&
id
.
startsWith
(
'
id_theme_file
'
))
{
$
(
this
).
change
(
function
()
{
$
(
this
).
change
(
function
()
{
m_data_theme
[
current_tab_index
].
default_file
=
parseInt
(
id
.
substr
(
id
.
length
-
1
));
m_data_theme
[
current_tab_index
].
default_file
=
parseInt
(
id
.
substr
(
id
.
length
-
1
));
VtoySaveCurrentPage
();
VtoySaveCurrentPage
();
...
...
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