87,920
社区成员
发帖
与我相关
我的任务
分享
function newUser() {
parent.$.showDialog({
title:'添加',
width : 500,
height : 300,
href:project+"/admin/addadmin.jsp"
});
}
$.showDialog = function(options) {
if($.showDialog.handler == undefined) {
var opts = $.extend({
//title:'',
width:840,
height:680,
modal:true,
onClose:function() {
$.showDialog.handler = undefined;
$(this).dialog('destroy');
}
},options);
opts.modal = true;
return $.showDialog.handler= $("<div/>").dialog(opts);
}
};