Skip to content

Commit

Permalink
Update pgadmin.js
Browse files Browse the repository at this point in the history
  • Loading branch information
midoks committed Oct 1, 2024
1 parent 2271077 commit 485efb0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/pgadmin/js/pgadmin.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ function pmaPost(method,args,callback){
}

var loadT = layer.msg('正在获取...', { icon: 16, time: 0, shade: 0.3 });
$.post('/plugins/run', {name:'phpmyadmin', func:method, args:_args}, function(data) {
$.post('/plugins/run', {name:'pgadmin', func:method, args:_args}, function(data) {
layer.close(loadT);
if (!data.status){
layer.msg(data.msg,{icon:0,time:2000,shade: [0.3, '#000']});
Expand All @@ -40,7 +40,7 @@ function pmaAsyncPost(method,args){
} else {
_args = JSON.stringify(args);
}
return syncPost('/plugins/run', {name:'phpmyadmin', func:method, args:_args});
return syncPost('/plugins/run', {name:'pgadmin', func:method, args:_args});
}

function homePage(){
Expand Down

0 comments on commit 485efb0

Please sign in to comment.