diff --git a/src/assets/js/parts/wish-add.js b/src/assets/js/parts/wish-add.js index 9b67bb85..cb019d2e 100644 --- a/src/assets/js/parts/wish-add.js +++ b/src/assets/js/parts/wish-add.js @@ -1,5 +1,10 @@ $(function () { + /** + * Tabs + */ + $('.menu.wish-add .item').tab(); + /** * Priority */ @@ -8,6 +13,13 @@ $(function () { /** * Properties */ - $('.checkbox').checkbox(); + $('.checkbox').checkbox({ + onChecked : function() { + $('.menu.wish-add .item[data-tab="product"]').removeClass('disabled'); + }, + onUnchecked : function() { + $('.menu.wish-add .item[data-tab="product"]').addClass('disabled'); + }, + }); }); diff --git a/src/pages/parts/wish-add.php b/src/pages/parts/wish-add.php index f58917f7..8268110d 100644 --- a/src/pages/parts/wish-add.php +++ b/src/pages/parts/wish-add.php @@ -10,88 +10,107 @@ $scriptPart = '/src/assets/js/parts/wish-add.js'; ?> -
-
+ -
- +
+
+
+
-
- -
-
+
+ -
- - - -
- -
- -
- -
- - - -
- -
- - - -
- -
- - - -
- -
- - -
-
- - is_purchasable) && $wish->is_purchasable ? 'checked' : '' ?> - /> - +
+ +
+ +
+ + + +
+ +
+ +
+ +
+ + + +
+ +
+ + + +
+ +
+ + +
+
+ + is_purchasable) && $wish->is_purchasable ? 'checked' : '' ?> + /> + +
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+ + + +
+
-
diff --git a/src/pages/wishlists.php b/src/pages/wishlists.php index 3941034b..57b8871b 100644 --- a/src/pages/wishlists.php +++ b/src/pages/wishlists.php @@ -167,14 +167,12 @@ $page->navigation();
-

+

-
- -
+
@@ -201,9 +199,7 @@ $page->navigation(); -
- -
+