Commit 44ef41b2 authored by Liang Ding's avatar Liang Ding

c

parents 67281acb 692cfe01
......@@ -2,7 +2,7 @@
</div>
<div id="pluginPagination" class="margin12 right">
</div>
<div class="clear"></div>
<div id="PluginSetting" class="none">
<div id="pluginSetting" class="none">
</div>
<div class="clear"></div>
${plugins}
......@@ -3017,6 +3017,12 @@ admin.pluginList = {
}]);
this.tablePagination.initPagination();
$("#pluginSetting").dialog({
width: 700,
height: 180,
"modal": true,
"hideFooter": true
});
this.getList(page);
},
......@@ -3062,7 +3068,11 @@ admin.pluginList = {
}
});
},
<<<<<<< HEAD
=======
>>>>>>> 692cfe019926f553440bb6a3e2517360118353a7
toSetting:function(pluginId){
$("#loadMsg").text(Label.loadingLabel);
......@@ -3078,6 +3088,7 @@ admin.pluginList = {
success: function(result, textStatus){
$("#tipMsg").text(result.msg);
<<<<<<< HEAD
$("#PluginSetting").html(result);
$("#PluginSetting").dialog({
width: 700,
......@@ -3086,13 +3097,21 @@ admin.pluginList = {
"hideFooter": true
});
$("#PluginSetting").dialog("open");
=======
$("#pluginSetting").html(result);
$("#pluginSetting").dialog("open");
>>>>>>> 692cfe019926f553440bb6a3e2517360118353a7
$("#loadMsg").text("");
}
});
},
<<<<<<< HEAD
=======
>>>>>>> 692cfe019926f553440bb6a3e2517360118353a7
changeStatus: function (pluginId, status) {
if (status === "ENABLED") {
status = "DISABLED";
......@@ -3135,7 +3154,11 @@ admin.register["plugin-list"] = {
"refresh": function () {
$("#loadMsg").text("");
}
<<<<<<< HEAD
}
=======
}
>>>>>>> 692cfe019926f553440bb6a3e2517360118353a7
/*
* Copyright (c) 2009, 2010, 2011, 2012, 2013, B3log Team
*
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -56,6 +56,12 @@ admin.pluginList = {
}]);
this.tablePagination.initPagination();
$("#pluginSetting").dialog({
width: 700,
height: 180,
"modal": true,
"hideFooter": true
});
this.getList(page);
},
......@@ -101,7 +107,7 @@ admin.pluginList = {
}
});
},
toSetting:function(pluginId){
$("#loadMsg").text(Label.loadingLabel);
......@@ -117,21 +123,15 @@ admin.pluginList = {
success: function(result, textStatus){
$("#tipMsg").text(result.msg);
$("#PluginSetting").html(result);
$("#PluginSetting").dialog({
width: 700,
height: 190,
"modal": true,
"hideFooter": true
});
$("#PluginSetting").dialog("open");
$("#pluginSetting").html(result);
$("#pluginSetting").dialog("open");
$("#loadMsg").text("");
}
});
},
changeStatus: function (pluginId, status) {
if (status === "ENABLED") {
status = "DISABLED";
......@@ -174,4 +174,4 @@ admin.register["plugin-list"] = {
"refresh": function () {
$("#loadMsg").text("");
}
}
}
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