summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorprashantsinalkar2019-01-08 10:32:27 +0530
committerprashantsinalkar2019-09-01 22:13:11 +0530
commitab36969972e8f1f0c0078089bbbd2055028480c9 (patch)
tree61771ee3bea9511775a8b815f45f54c5dea39597
parent3a098517d28a3649bb1e3b46c56aa10e7199c557 (diff)
downloadr_tbc_fixer-ab36969972e8f1f0c0078089bbbd2055028480c9.tar.gz
r_tbc_fixer-ab36969972e8f1f0c0078089bbbd2055028480c9.tar.bz2
r_tbc_fixer-ab36969972e8f1f0c0078089bbbd2055028480c9.zip
fixed argument issue
-rw-r--r--js/textbook_companion_fixer_edit_category.js1
-rwxr-xr-xtextbook_companion_fixer_edit_book_category.inc2
2 files changed, 1 insertions, 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() + "</option>");
/**********************/
- 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 = "";