summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorprashantsinalkar2019-01-08 10:32:27 +0530
committerprashantsinalkar2019-01-08 10:32:27 +0530
commiteb41991c89d2709ef63ef53747af0644840b537a (patch)
tree62c971a6dc26fd9264c81fda197caa34dba182ec
parent9dda37b535b04067a9d88577a42cafba03582874 (diff)
downloadtextbook_companion_fixer-eb41991c89d2709ef63ef53747af0644840b537a.tar.gz
textbook_companion_fixer-eb41991c89d2709ef63ef53747af0644840b537a.tar.bz2
textbook_companion_fixer-eb41991c89d2709ef63ef53747af0644840b537a.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 ed04c8e..c8a9f9e 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 = "";