fix widget from post method
This commit is contained in:
parent
b89cd80800
commit
194b42c1e4
|
@ -12,7 +12,10 @@ $(document).ready(function() {
|
|||
});
|
||||
|
||||
function ajax_load_proc(wapper,url){
|
||||
wapper.load(encodeURI(url), {}, function(respText,textSta,XML){
|
||||
$.get(encodeURI(url), {}, function(respText,textSta,XML){
|
||||
if (textSta == 'success') {
|
||||
wapper.html(respText);
|
||||
};
|
||||
if(textSta == 'error')
|
||||
wapper.html("Loading Failed<br/> <a href='"+$(this).attr('path')+"'>Go See</a>");
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue