Open GoogleCodeExporter opened 8 years ago
参看http://www.planeart.cn/demo/artDialog/_doc/upd.txt
Original comment by kirinwan...@gmail.com
on 27 Oct 2011 at 6:51
$('#k-info-show').load('<?=Core_AppUtils::url('Admin_User','show'); ?>',
{user_id: relid},
function(){
var frm_user_art = art.dialog({
title: '修改用户信息',
width: "360px",
esc: false,lock:true,dblclick_hide:false,
content: $('#k-info-show').get(0),
beforeunload: function () {
$('#k-info-show').hide().empty();
window.art_frm_user_update = null;
}
}).lock();
window.art_frm_user_update = function(ko){
// console.log(_this,ko);
var parent = $(_this).parent().parent();
$('td:eq(1)',parent).html(ko.rolename);
$('td:eq(2)',parent).html(ko.status);
frm_user_art.shake().content("更新成功").time(1000);
};
}
);
我是这么使用的
Original comment by envilwind@gmail.com
on 24 May 2012 at 1:30
Original issue reported on code.google.com by
xiebaolo...@gmail.com
on 10 Aug 2011 at 3:27