summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPrashant S2019-01-08 10:35:10 +0530
committerGitHub2019-01-08 10:35:10 +0530
commitd193fa16a018059233088a1a9b36ab863e407be1 (patch)
tree8274d541a8791a2232a0b15e0fae895cdc4819d8
parent877b01c758d6fb287440808ef798d91647bf5706 (diff)
parent363d37ec25d34363289454bd40ed12d5b8178c38 (diff)
downloadtextbook_companion_fixer-drupal_7.x.tar.gz
textbook_companion_fixer-drupal_7.x.tar.bz2
textbook_companion_fixer-drupal_7.x.zip
Merge pull request #6 from prashantsinalkar/drupal_7.xHEADdrupal_7.x
fixed issues
-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 = "";