mirror of
https://github.com/opnsense/plugins.git
synced 2026-05-28 04:34:15 -04:00
www/web-proxy-sso: jQuery 3 migration.
(cherry picked from commitb3c8f91470) (cherry picked from commit66b095926f)
This commit is contained in:
parent
14437c1ccb
commit
556c46d3df
2 changed files with 5 additions and 4 deletions
|
|
@ -1,5 +1,6 @@
|
|||
PLUGIN_NAME= web-proxy-sso
|
||||
PLUGIN_VERSION= 2.2
|
||||
PLUGIN_REVISION= 1
|
||||
PLUGIN_COMMENT= Kerberos authentication module
|
||||
PLUGIN_DEPENDS= msktutil cyrus-sasl-gssapi
|
||||
PLUGIN_MAINTAINER= evbevz@gmail.com
|
||||
|
|
|
|||
|
|
@ -114,7 +114,7 @@
|
|||
|
||||
// clear data
|
||||
$("#" + index).html("");
|
||||
$(".help-block[for='" + index + "']").html("");
|
||||
$(".help-block[id*='" + index + "']").html("");
|
||||
|
||||
if(value.status == "ok") {
|
||||
jQuery('<div/>', {
|
||||
|
|
@ -122,7 +122,7 @@
|
|||
class: 'fa fa-check-circle text-success',
|
||||
}).appendTo("#" + index);
|
||||
if(value.message) {
|
||||
$(".help-block[for='" + index + "']").html(value.message);
|
||||
$(".help-block[id*='" + index + "']").html(value.message);
|
||||
}
|
||||
}
|
||||
else if(value.status == "failure") {
|
||||
|
|
@ -131,7 +131,7 @@
|
|||
class: 'fa fa-times-circle text-danger',
|
||||
}).appendTo("#" + index);
|
||||
if(value.message) {
|
||||
$(".help-block[for='" + index + "']").html(value.message);
|
||||
$(".help-block[id*='" + index + "']").html(value.message);
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
|
@ -143,7 +143,7 @@
|
|||
id: index + '_dump',
|
||||
text: htmlDecode(value.dump),
|
||||
class: 'hidden',
|
||||
}).appendTo(".help-block[for='" + index + "']");
|
||||
}).appendTo(".help-block[id*='" + index + "']");
|
||||
jQuery('<a/>', {
|
||||
text: "{{ lang._('Show dump') }}",
|
||||
href: 'javascript:showDump("' + index + '");',
|
||||
|
|
|
|||
Loading…
Reference in a new issue