nubuilder 实现系统信息页功能

关键代码

 

1
2
3
4
5
6
7
8
9
10
11
12
13
14
function openNuObject() {

    $('#nuMessageDiv').remove();
    nuPopup('nuobject', '-1', window.nuFORM.getCurrent().form_id, '', 0);

}

if (nuSERVERRESPONSE.objects.length === 0 && window.global_access) {

    var headings = '<h2>' + nuTranslate('Information') + '<h2>';
    var message = nuTranslate('Currently there are no objects on this Form') + '. <a href="javascript:openNuObject();">'+ nuTranslate('Start adding some') + '</a>.';
    nuMessage([headings, message]);

}
原文链接:https://xiaohost.com/3600.html,转载请注明出处。
0

评论0

请先