mirror of
https://github.com/Squidly271/community.applications.git
synced 2025-06-03 14:52:13 +08:00
possible for actionsContext to be null???
This commit is contained in:
parent
33e8b14351
commit
e8df85e08f
BIN
archive/community.applications-2022.09.30-x86_64-1.txz
Normal file
BIN
archive/community.applications-2022.09.30-x86_64-1.txz
Normal file
Binary file not shown.
@ -2,8 +2,8 @@
|
||||
<!DOCTYPE PLUGIN [
|
||||
<!ENTITY name "community.applications">
|
||||
<!ENTITY author "Andrew Zawadzki">
|
||||
<!ENTITY version "2022.09.26">
|
||||
<!ENTITY md5 "68f16951889161a237cdfeb3155f3a42">
|
||||
<!ENTITY version "2022.09.30">
|
||||
<!ENTITY md5 "4d41b2b779ca48aa75c390fedacc09e1">
|
||||
<!ENTITY launch "Apps">
|
||||
<!ENTITY plugdir "/usr/local/emhttp/plugins/&name;">
|
||||
<!ENTITY github "Squidly271/community.applications">
|
||||
@ -13,6 +13,9 @@
|
||||
<PLUGIN name="&name;" author="&author;" version="&version;" launch="&launch;" pluginURL="&pluginURL;" min="6.9.0" support="https://lime-technology.com/forums/topic/38582-plug-in-community-applications/" icon="users">
|
||||
|
||||
<CHANGES>
|
||||
###2022.09.30
|
||||
- Possible fix for a javascript error in certain unlikely situations
|
||||
|
||||
###2022.09.26
|
||||
- Performance improvement: Only scan for new private templates when going Home
|
||||
- Fixed: Flash drive offline would crash CA
|
||||
|
@ -1972,25 +1972,30 @@ function updateDisplay(content) {
|
||||
context.init();
|
||||
$('.supportButtonCardContext').each(function() {
|
||||
var supportContext = $(this).data("context");
|
||||
var ID = $(this).attr("id");
|
||||
var opts = [];
|
||||
supportContext.forEach(function(item,index){
|
||||
opts.push({text:item.text,icon:item.icon,action:function(){openNewWindow(item.link,'_blank');}});
|
||||
});
|
||||
context.attach('#'+ID, opts);
|
||||
if (supportContext) {
|
||||
var ID = $(this).attr("id");
|
||||
var opts = [];
|
||||
supportContext.forEach(function(item,index){
|
||||
opts.push({text:item.text,icon:item.icon,action:function(){openNewWindow(item.link,'_blank');}});
|
||||
});
|
||||
context.attach('#'+ID, opts);
|
||||
}
|
||||
});
|
||||
|
||||
$('.actionsButtonContext').each(function() {
|
||||
var actionsContext = $(this).data("context");
|
||||
var ID = $(this).attr("id");
|
||||
var opts = [];
|
||||
actionsContext.forEach(function(item,index){
|
||||
if ( item.divider ) {
|
||||
opts.push({divider:true});
|
||||
} else {
|
||||
opts.push({text:item.text,icon:item.icon,action:function(){eval(item.action);}});
|
||||
}
|
||||
});
|
||||
context.attach('#'+ID, opts);
|
||||
if (actionsContext) {
|
||||
var ID = $(this).attr("id");
|
||||
var opts = [];
|
||||
actionsContext.forEach(function(item,index){
|
||||
if ( item.divider ) {
|
||||
opts.push({divider:true});
|
||||
} else {
|
||||
opts.push({text:item.text,icon:item.icon,action:function(){eval(item.action);}});
|
||||
}
|
||||
});
|
||||
context.attach('#'+ID, opts);
|
||||
}
|
||||
});
|
||||
$(".cardDesc").each(function() {
|
||||
var description = $(this).html();
|
||||
|
@ -1,4 +1,4 @@
|
||||
9a5ce7938223bd1abce7660d8ee9e7cf ./Apps.page
|
||||
73795c70b2b193fd25115d77259d152d ./Apps.page
|
||||
4e55f7483b661af21a25b677179baffe ./CA_notices.page
|
||||
42a1658a916a3a3eed2a9f2af80603c4 ./ca_settings.page
|
||||
e718d7825dbdc96a17a915079222b098 ./default.cfg
|
||||
|
Loading…
x
Reference in New Issue
Block a user