From ab36969972e8f1f0c0078089bbbd2055028480c9 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Tue, 8 Jan 2019 10:32:27 +0530 Subject: fixed argument issue --- js/textbook_companion_fixer_edit_category.js | 1 - textbook_companion_fixer_edit_book_category.inc | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/js/textbook_companion_fixer_edit_category.js b/js/textbook_companion_fixer_edit_category.js index 545f689..bad5ec7 100644 --- a/js/textbook_companion_fixer_edit_category.js +++ b/js/textbook_companion_fixer_edit_category.js @@ -37,7 +37,6 @@ .val() + "'>" + $(this).text() + ""); /**********************/ - console.log($('.main-subcategory-' + selectID).attr('data-cid')); var pref_id = $('.prefrence_id').val(); var main_cat_chk_value = selectID; var sub_cat_select_value = $(this).val(); diff --git a/textbook_companion_fixer_edit_book_category.inc b/textbook_companion_fixer_edit_book_category.inc index 90156d0..1e5d01e 100755 --- a/textbook_companion_fixer_edit_book_category.inc +++ b/textbook_companion_fixer_edit_book_category.inc @@ -106,7 +106,7 @@ function textbook_companion_fixer_category_edit_form($form, &$form_state) ); return $form; } -function textbook_companion_fixer_edit_book_category_ajax($item, $key) +function textbook_companion_fixer_edit_book_category_ajax() { global $user; $data = ""; -- cgit