Commit f5c5aed2 authored by mainlove's avatar mainlove

plugin

parent 947b1df7
...@@ -2,5 +2,7 @@ ...@@ -2,5 +2,7 @@
</div> </div>
<div id="pluginPagination" class="margin12 right"> <div id="pluginPagination" class="margin12 right">
</div> </div>
<div id="PluginSetting" class="none">
</div>
<div class="clear"></div> <div class="clear"></div>
${plugins} ${plugins}
...@@ -52,14 +52,10 @@ admin.plugin = { ...@@ -52,14 +52,10 @@ admin.plugin = {
success: function(result, textStatus){ success: function(result, textStatus){
$("#loadMsg").text(Label.loadingLabel); $("#loadMsg").text(Label.loadingLabel);
$("#tipMsg").text(result.msg); $("#tipMsg").text(result.msg);
if (!result.sc) {
$("#loadMsg").text(""); $("#PluginSetting").html(result);
return;
}
//where to put the id?
$("#PluginSetting").dialog("open");
$("#loadMsg").text(""); $("#loadMsg").text("");
$("#PluginSetting").dialog("open");
} }
}); });
......
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