-
Notifications
You must be signed in to change notification settings - Fork 162
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ticket #3058 - Set Membership with time limit
- Loading branch information
Showing
8 changed files
with
135 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<div class="bx-acl-set"> | ||
<div class="bx-acl-set-cnt"> | ||
__form__ | ||
<script language="javascript"> | ||
$(document).ready(function () { | ||
var oForm = $("#__form_id__"); | ||
if($('#sys-acl-profile-__profile_id__').length > 0) | ||
oForm.find("[name = 'card']").val(1); | ||
|
||
oForm.ajaxForm({ | ||
dataType: "json", | ||
beforeSubmit: function (oFormData, jqForm, options) { | ||
bx_loading($("#__form_id__"), true); | ||
}, | ||
success: function (oData) { | ||
var oForm = $("#__form_id__"); | ||
|
||
oForm.parents(".bx-popup-applied:visible:first").dolPopupHide(); | ||
|
||
bx_on_set_acl_level(oData, oForm); | ||
} | ||
}); | ||
}); | ||
</script> | ||
</div> | ||
</div> |
Oops, something went wrong.