mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-11-18 11:10:56 +01:00
Minor fixes
This commit is contained in:
@@ -787,7 +787,7 @@ class AdminController
|
||||
/**
|
||||
* Handles installing plugins and themes
|
||||
*
|
||||
* @return bool True is the action was performed
|
||||
* @return bool True if the action was performed
|
||||
*/
|
||||
public function taskInstall()
|
||||
{
|
||||
@@ -816,7 +816,7 @@ class AdminController
|
||||
/**
|
||||
* Handles updating Grav
|
||||
*
|
||||
* @return bool True is the action was performed
|
||||
* @return bool True if the action was performed
|
||||
*/
|
||||
public function taskUpdategrav()
|
||||
{
|
||||
@@ -840,7 +840,7 @@ class AdminController
|
||||
/**
|
||||
* Handles updating plugins and themes
|
||||
*
|
||||
* @return bool True is the action was performed
|
||||
* @return bool True if the action was performed
|
||||
*/
|
||||
public function taskUpdate()
|
||||
{
|
||||
@@ -898,7 +898,7 @@ class AdminController
|
||||
/**
|
||||
* Handles uninstalling plugins and themes
|
||||
*
|
||||
* @return bool True is the action was performed
|
||||
* @return bool True if the action was performed
|
||||
*/
|
||||
public function taskUninstall()
|
||||
{
|
||||
|
||||
@@ -320,7 +320,8 @@
|
||||
if (!ajax) {
|
||||
var form = $('<form>').attr({ method: method, action: action });
|
||||
|
||||
for (var name in values) { if (values.hasOwnProperty(name)) {
|
||||
for (var name in values) {
|
||||
if (values.hasOwnProperty(name)) {
|
||||
$('<input>').attr({ type: 'hidden', name: name, value: values[name] }).appendTo(form);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user