Commit 692cfe01 authored by Vanessa's avatar Vanessa

compress

parent 73b06508
...@@ -3068,14 +3068,13 @@ admin.pluginList = { ...@@ -3068,14 +3068,13 @@ admin.pluginList = {
} }
}); });
}, },
toSetting:function(pluginId){ toSetting:function(pluginId){
$("#loadMsg").text(Label.loadingLabel); $("#loadMsg").text(Label.loadingLabel);
var requestJSONObject = { var requestJSONObject = {
"oId": pluginId "oId": pluginId
}, };
that = this;
$.ajax({ $.ajax({
url: latkeConfig.servePath + "/console/plugin/toSetting", url: latkeConfig.servePath + "/console/plugin/toSetting",
...@@ -3093,6 +3092,7 @@ admin.pluginList = { ...@@ -3093,6 +3092,7 @@ admin.pluginList = {
}); });
}, },
changeStatus: function (pluginId, status) { changeStatus: function (pluginId, status) {
if (status === "ENABLED") { if (status === "ENABLED") {
status = "DISABLED"; status = "DISABLED";
...@@ -3135,7 +3135,8 @@ admin.register["plugin-list"] = { ...@@ -3135,7 +3135,8 @@ admin.register["plugin-list"] = {
"refresh": function () { "refresh": function () {
$("#loadMsg").text(""); $("#loadMsg").text("");
} }
}/* }
/*
* Copyright (c) 2009, 2010, 2011, 2012, 2013, B3log Team * Copyright (c) 2009, 2010, 2011, 2012, 2013, B3log Team
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
...@@ -3738,7 +3739,8 @@ admin.plugin = { ...@@ -3738,7 +3739,8 @@ admin.plugin = {
break; break;
} }
} }
};/* };
/*
* Copyright (c) 2009, 2010, 2011, 2012, 2013, B3log Team * Copyright (c) 2009, 2010, 2011, 2012, 2013, B3log Team
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
......
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment