Certain plugins with additional requirements couldn't be reinstalled from the card in Previous Apps
parent
88c980d58c
commit
76e6b621f6
Binary file not shown.
|
@ -1127,6 +1127,9 @@ function installPlugin(pluginURL,update=false,comment="") {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
alert(type);
|
||||||
|
alert(pluginURL);
|
||||||
|
|
||||||
openBox('/plugins/community.applications/scripts/pluginInstall.php&arg1='+type+'&arg2='+pluginURL,title,600,900,true,"OpenSidebarAndRefreshDisplay");
|
openBox('/plugins/community.applications/scripts/pluginInstall.php&arg1='+type+'&arg2='+pluginURL,title,600,900,true,"OpenSidebarAndRefreshDisplay");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
37e661a0dba61f17b1a498cccb779f13 ./Apps.page
|
9c6cd69ba31784a50716f6f09d24a5ce ./Apps.page
|
||||||
4e55f7483b661af21a25b677179baffe ./CA_notices.page
|
4e55f7483b661af21a25b677179baffe ./CA_notices.page
|
||||||
42a1658a916a3a3eed2a9f2af80603c4 ./ca_settings.page
|
42a1658a916a3a3eed2a9f2af80603c4 ./ca_settings.page
|
||||||
e718d7825dbdc96a17a915079222b098 ./default.cfg
|
e718d7825dbdc96a17a915079222b098 ./default.cfg
|
||||||
|
@ -20,4 +20,4 @@ e19c8f05c687dcf03ea0ba2ed7099a6e ./scripts/showStatistics.php
|
||||||
34554a56611dfe625889c82afd5138de ./scripts/updatePluginSupport.php
|
34554a56611dfe625889c82afd5138de ./scripts/updatePluginSupport.php
|
||||||
2da35d3042b93459f171595811d534b3 ./skins/Narrow/css.php
|
2da35d3042b93459f171595811d534b3 ./skins/Narrow/css.php
|
||||||
e9244df3418ca3e7fa206d9b6e94c6b1 ./skins/Narrow/skin.html
|
e9244df3418ca3e7fa206d9b6e94c6b1 ./skins/Narrow/skin.html
|
||||||
7026cc536702992828d798bb48097e28 ./skins/Narrow/skin.php
|
f94c63b12939e8abf091d81847abeea7 ./skins/Narrow/skin.php
|
||||||
|
|
|
@ -197,7 +197,7 @@ function my_display_apps($file,$pageNumber=1,$selectedApps=false,$startup=false)
|
||||||
$installComment = tr("This application has additional requirements")."<br>".markdown($template['Requires']);
|
$installComment = tr("This application has additional requirements")."<br>".markdown($template['Requires']);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$actionsContext[] = array("icon"=>"ca_fa-install","text"=>$buttonTitle,"action"=>"installPlugin('{$template['PluginURL']}','','".str_replace(" "," ",htmlspecialchars($installComment))."');");
|
$actionsContext[] = array("icon"=>"ca_fa-install","text"=>$buttonTitle,"action"=>"installPlugin('{$template['PluginURL']}','','".str_replace([" ","\n"],[" ",""],htmlspecialchars($installComment))."');");
|
||||||
if ( $template['InstallPath'] ) {
|
if ( $template['InstallPath'] ) {
|
||||||
if ( ! empty($actionsContext) )
|
if ( ! empty($actionsContext) )
|
||||||
$actionsContext[] = array("divider"=>true);
|
$actionsContext[] = array("divider"=>true);
|
||||||
|
|
Loading…
Reference in New Issue