|
|
@ -52,7 +52,7 @@ menu.apply = function (uri,id,pid,_context){
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
menu.apply_link =function(_args){
|
|
|
|
menu.apply_link =function(_args,_context){
|
|
|
|
//
|
|
|
|
//
|
|
|
|
// type:
|
|
|
|
// type:
|
|
|
|
// redirect open new window
|
|
|
|
// redirect open new window
|
|
|
@ -75,7 +75,7 @@ menu.apply_link =function(_args){
|
|
|
|
http.setHeader('uri',_args.uri)
|
|
|
|
http.setHeader('uri',_args.uri)
|
|
|
|
http.setHeader('dom',(_args.title)?_args.title:'dialog')
|
|
|
|
http.setHeader('dom',(_args.title)?_args.title:'dialog')
|
|
|
|
// http.setHeader('dom',_args.text)
|
|
|
|
// http.setHeader('dom',_args.text)
|
|
|
|
http.get('/dialog',function(x){
|
|
|
|
http.get(_context+'/dialog',function(x){
|
|
|
|
|
|
|
|
|
|
|
|
jx.modal.show({html:x.responseText,id:'dialog'})
|
|
|
|
jx.modal.show({html:x.responseText,id:'dialog'})
|
|
|
|
console.log([$('.jxmodal')])
|
|
|
|
console.log([$('.jxmodal')])
|
|
|
|