mirror of
https://github.com/Squidly271/community.applications.git
synced 2025-06-03 14:52:13 +08:00
Prevent user from rapidly switching sections which can potentially result in the wrong section being displayed
This commit is contained in:
parent
94f259aace
commit
17d20328a1
Binary file not shown.
BIN
archive/community.applications-2017.10.07.txz
Normal file
BIN
archive/community.applications-2017.10.07.txz
Normal file
Binary file not shown.
@ -2,8 +2,8 @@
|
|||||||
<!DOCTYPE PLUGIN [
|
<!DOCTYPE PLUGIN [
|
||||||
<!ENTITY name "community.applications">
|
<!ENTITY name "community.applications">
|
||||||
<!ENTITY author "Andrew Zawadzki">
|
<!ENTITY author "Andrew Zawadzki">
|
||||||
<!ENTITY version "2017.10.04">
|
<!ENTITY version "2017.10.07">
|
||||||
<!ENTITY md5 "3cffaf87ba44fce45ef4eec5a9ad4e4e">
|
<!ENTITY md5 "e482439d9d26b2bbe87434efd3c5be4b">
|
||||||
<!ENTITY launch "Settings/PluginSettings">
|
<!ENTITY launch "Settings/PluginSettings">
|
||||||
<!ENTITY plugdir "/usr/local/emhttp/plugins/&name;">
|
<!ENTITY plugdir "/usr/local/emhttp/plugins/&name;">
|
||||||
<!ENTITY github "Squidly271/community.applications">
|
<!ENTITY github "Squidly271/community.applications">
|
||||||
@ -13,6 +13,9 @@
|
|||||||
<PLUGIN name="&name;" author="&author;" version="&version;" launch="&launch;" pluginURL="&pluginURL;">
|
<PLUGIN name="&name;" author="&author;" version="&version;" launch="&launch;" pluginURL="&pluginURL;">
|
||||||
|
|
||||||
<CHANGES>
|
<CHANGES>
|
||||||
|
###2017.10.07
|
||||||
|
- Prevent user changing sections before display is rendered
|
||||||
|
|
||||||
###2017.10.04
|
###2017.10.04
|
||||||
- Enhanced: Vastly better searching when using multiple search terms
|
- Enhanced: Vastly better searching when using multiple search terms
|
||||||
|
|
||||||
|
@ -545,6 +545,7 @@ function myAlert(description,textdescription,textimage,imagesize, outsideClick,
|
|||||||
if ( !showCancel ) showCancel = false;
|
if ( !showCancel ) showCancel = false;
|
||||||
if ( !showConfirm ) showConfirm = false;
|
if ( !showConfirm ) showConfirm = false;
|
||||||
if ( imagesize == "" ) { imagesize = "80x80"; }
|
if ( imagesize == "" ) { imagesize = "80x80"; }
|
||||||
|
disableTooltipster();
|
||||||
swal({
|
swal({
|
||||||
title: description,
|
title: description,
|
||||||
text: textdescription,
|
text: textdescription,
|
||||||
@ -560,6 +561,7 @@ function myAlert(description,textdescription,textimage,imagesize, outsideClick,
|
|||||||
|
|
||||||
function myCloseAlert() {
|
function myCloseAlert() {
|
||||||
swal.close();
|
swal.close();
|
||||||
|
enableTooltipster();
|
||||||
}
|
}
|
||||||
|
|
||||||
function readMore() {
|
function readMore() {
|
||||||
@ -636,6 +638,13 @@ function dismissWarning() {
|
|||||||
$.post(URL,{action:'dismiss_warning'});
|
$.post(URL,{action:'dismiss_warning'});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function disableTooltipster() {
|
||||||
|
$('.tooltipstered').tooltipster('disable');
|
||||||
|
}
|
||||||
|
function enableTooltipster() {
|
||||||
|
$('.tooltipstered').tooltipster('enable');
|
||||||
|
}
|
||||||
|
|
||||||
function forceUpdate() {
|
function forceUpdate() {
|
||||||
$("#updateButton").prop("disabled",true);
|
$("#updateButton").prop("disabled",true);
|
||||||
$("#Category").html("");
|
$("#Category").html("");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user