application/modules/mod_discount/assets/js/adminScripts.js
Function initDiscounts
has 214 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function initDiscounts() {
var isGift = $('#gift_checkbox').attr('checked') == 'checked';
if (isGift) {
giftCheckboxCallback();
- Create a ticketCreate a ticket
File adminScripts.js
has 261 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
$(document).ready(
function () {
$(document).on(
'pjax:end',
- Create a ticketCreate a ticket