Merge branch 'master' of https://github.com/MaxKeyTop/MaxKey
This commit is contained in:
@@ -11,6 +11,10 @@
|
||||
|
||||
$(function () {
|
||||
$("#addGroupAppsBtn").on("click",function(){
|
||||
if($("#groupId").val()==""){
|
||||
$.alert({content:$.platform.messages.select.alertText});
|
||||
return;
|
||||
}
|
||||
var settings={
|
||||
url : "<@base/>/groupPrivileges/addGroupAppsList/"+$("#groupId").val(),//window url
|
||||
title : "New",//title
|
||||
|
||||
@@ -11,7 +11,11 @@
|
||||
|
||||
|
||||
$(function () {
|
||||
$("#insertGroupUserBtn").on("click",function(){
|
||||
$("#insertGroupUserBtn").on("click",function(){
|
||||
if($("#groupId").val()==""){
|
||||
$.alert({content:$.platform.messages.select.alertText});
|
||||
return;
|
||||
}
|
||||
var settings={
|
||||
url : "<@base/>/groupMember/addGroupAppsList/"+$("#groupId").val(),//window url
|
||||
title : "New",//title
|
||||
|
||||
@@ -15,6 +15,14 @@ $(function () {
|
||||
$("#appId").val($.cookie("select_app_id"));
|
||||
$("#parentId").val($.cookie("select_res_id"));
|
||||
$("#parentName").val($.cookie("select_res_name"));
|
||||
|
||||
if($("#parentId").val()==""){
|
||||
$.alert({
|
||||
content:$.platform.messages.select.alertText,
|
||||
callback:function (){$.closeWindow();}
|
||||
});
|
||||
|
||||
}
|
||||
});
|
||||
</script>
|
||||
</head>
|
||||
|
||||
@@ -12,6 +12,10 @@
|
||||
|
||||
$(function () {
|
||||
$("#insertGroupUserBtn").on("click",function(){
|
||||
if($("#roleId").val()==""){
|
||||
$.alert({content:$.platform.messages.select.alertText});
|
||||
return;
|
||||
}
|
||||
var settings={
|
||||
url : "<@base/>/rolemembers/addRoleAppsList/"+$("#roleId").val(),//window url
|
||||
title : "New",//title
|
||||
|
||||
@@ -51,7 +51,8 @@
|
||||
<tr>
|
||||
<td style="width:15%;"><@locale code="userinfo.username" />:</td>
|
||||
<td style="width:35%;">
|
||||
<input type="hidden" id="id" name="id" value=""/>
|
||||
<input type="hidden" id="id" name="id" value=""/>
|
||||
<input type="hidden" id="status" name="status" value="1"/>
|
||||
<input class="form-control" type="text" required="" id="username" name="username" title="" value=""/>
|
||||
</td>
|
||||
<td style="width:15%;"><@locale code="login.text.password" />:</td>
|
||||
|
||||
@@ -136,9 +136,13 @@ $(function () {
|
||||
}
|
||||
);//end tree
|
||||
|
||||
$("#changepwdBtn").on("click",function(){
|
||||
$("#changepwdBtnHidden").attr("wurl","<@base/>/userinfo/forwardChangePassword/"+$.dataGridSelRowsData("#datagrid")[0].id);
|
||||
$("#changepwdBtnHidden").click();
|
||||
$("#changepwdBtn").on("click",function(){
|
||||
if($.dataGridSelRowsData("#datagrid")[0]==null){
|
||||
$.alert({content:$.platform.messages.select.alertText});
|
||||
return;
|
||||
}
|
||||
$("#changepwdBtnHidden").attr("wurl","<@base/>/userinfo/forwardChangePassword/"+$.dataGridSelRowsData("#datagrid")[0].id);
|
||||
$("#changepwdBtnHidden").click();
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user