Suppress plugin online check when actions are done from plugin page itself

This commit is contained in:
bergware
2017-07-09 13:50:44 +02:00
parent 71fbfaeb98
commit 1128540c88
3 changed files with 15 additions and 5 deletions
@@ -2,8 +2,8 @@ Menu="Plugins"
Title="Install Plugin"
---
<?PHP
/* Copyright 2005-2016, Lime Technology
* Copyright 2012-2016, Bergware International.
/* Copyright 2005-2017, Lime Technology
* Copyright 2012-2017, Bergware International.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License version 2,
@@ -16,7 +16,7 @@ Title="Install Plugin"
<script>
function installPlugin(name) {
var file = name.trim();
if (file) openBox('/plugins/dynamix.plugin.manager/scripts/plugin&arg1=install&arg2='+file,'Install Plugin',600,900,true);
if (file) {noAudit();openBox('/plugins/dynamix.plugin.manager/scripts/plugin&arg1=install&arg2='+file,'Install Plugin',600,900,true);}
}
</script>
**Enter URL of remote plugin file or local plugin file**