Showing
8 changed files
with
18 additions
and
18 deletions
@@ -26,7 +26,7 @@ var winH = $(window).height(); | @@ -26,7 +26,7 @@ var winH = $(window).height(); | ||
26 | var defaultOpt = { | 26 | var defaultOpt = { |
27 | gender: $('#gender').val(), | 27 | gender: $('#gender').val(), |
28 | brand: $('#brand').val(), | 28 | brand: $('#brand').val(), |
29 | - msort: $('#msort').val(), | 29 | + sort: $('#sort').val(), |
30 | color: $('#color').val(), | 30 | color: $('#color').val(), |
31 | size: $('#size').val(), | 31 | size: $('#size').val(), |
32 | price: $('#price').val(), | 32 | price: $('#price').val(), |
@@ -96,9 +96,9 @@ function search(opt) { | @@ -96,9 +96,9 @@ function search(opt) { | ||
96 | brand: opt.id | 96 | brand: opt.id |
97 | }; | 97 | }; |
98 | break; | 98 | break; |
99 | - case 'msort': | 99 | + case 'sort': |
100 | ext = { | 100 | ext = { |
101 | - msort: opt.id | 101 | + sort: opt.id |
102 | }; | 102 | }; |
103 | break; | 103 | break; |
104 | case 'color': | 104 | case 'color': |
@@ -23,7 +23,7 @@ var winH = $(window).height(); | @@ -23,7 +23,7 @@ var winH = $(window).height(); | ||
23 | var defaultOpt = { | 23 | var defaultOpt = { |
24 | gender: $('#gender').val(), | 24 | gender: $('#gender').val(), |
25 | brand: $('#brand').val(), | 25 | brand: $('#brand').val(), |
26 | - msort: $('#msort').val(), | 26 | + sort: $('#sort').val(), |
27 | color: $('#color').val(), | 27 | color: $('#color').val(), |
28 | size: $('#size').val(), | 28 | size: $('#size').val(), |
29 | price: $('#price').val(), | 29 | price: $('#price').val(), |
@@ -104,9 +104,9 @@ function search(opt) { | @@ -104,9 +104,9 @@ function search(opt) { | ||
104 | brand: opt.id | 104 | brand: opt.id |
105 | }; | 105 | }; |
106 | break; | 106 | break; |
107 | - case 'msort': | 107 | + case 'sort': |
108 | ext = { | 108 | ext = { |
109 | - msort: opt.id | 109 | + sort: opt.id |
110 | }; | 110 | }; |
111 | break; | 111 | break; |
112 | case 'color': | 112 | case 'color': |
@@ -23,7 +23,7 @@ var winH = $(window).height(); | @@ -23,7 +23,7 @@ var winH = $(window).height(); | ||
23 | var defaultOpt = { | 23 | var defaultOpt = { |
24 | gender: $('#gender').val(), | 24 | gender: $('#gender').val(), |
25 | brand: $('#brand').val(), | 25 | brand: $('#brand').val(), |
26 | - msort: $('#msort').val(), | 26 | + sort: $('#sort').val(), |
27 | color: $('#color').val(), | 27 | color: $('#color').val(), |
28 | size: $('#size').val(), | 28 | size: $('#size').val(), |
29 | price: $('#price').val(), | 29 | price: $('#price').val(), |
@@ -114,9 +114,9 @@ function search(opt) { | @@ -114,9 +114,9 @@ function search(opt) { | ||
114 | brand: opt.id | 114 | brand: opt.id |
115 | }; | 115 | }; |
116 | break; | 116 | break; |
117 | - case 'msort': | 117 | + case 'sort': |
118 | ext = { | 118 | ext = { |
119 | - msort: opt.id | 119 | + sort: opt.id |
120 | }; | 120 | }; |
121 | break; | 121 | break; |
122 | case 'color': | 122 | case 'color': |
@@ -51,8 +51,8 @@ | @@ -51,8 +51,8 @@ | ||
51 | <input id="gender" type="hidden" value={{gender}}> | 51 | <input id="gender" type="hidden" value={{gender}}> |
52 | {{/if}} | 52 | {{/if}} |
53 | 53 | ||
54 | - {{#if msort}} | ||
55 | - <input id="msort" type="hidden" value={{msort}}> | 54 | + {{#if sort}} |
55 | + <input id="sort" type="hidden" value={{sort}}> | ||
56 | {{/if}} | 56 | {{/if}} |
57 | 57 | ||
58 | {{#if color}} | 58 | {{#if color}} |
@@ -63,8 +63,8 @@ | @@ -63,8 +63,8 @@ | ||
63 | <input id="gender" type="hidden" value={{gender}}> | 63 | <input id="gender" type="hidden" value={{gender}}> |
64 | {{/if}} | 64 | {{/if}} |
65 | 65 | ||
66 | - {{#if msort}} | ||
67 | - <input id="msort" type="hidden" value={{msort}}> | 66 | + {{#if sort}} |
67 | + <input id="sort" type="hidden" value={{sort}}> | ||
68 | {{/if}} | 68 | {{/if}} |
69 | 69 | ||
70 | {{#if color}} | 70 | {{#if color}} |
@@ -103,8 +103,8 @@ | @@ -103,8 +103,8 @@ | ||
103 | <input id="gender" type="hidden" value={{gender}}> | 103 | <input id="gender" type="hidden" value={{gender}}> |
104 | {{/if}} | 104 | {{/if}} |
105 | 105 | ||
106 | - {{#if msort}} | ||
107 | - <input id="msort" type="hidden" value={{msort}}> | 106 | + {{#if sort}} |
107 | + <input id="sort" type="hidden" value={{sort}}> | ||
108 | {{/if}} | 108 | {{/if}} |
109 | 109 | ||
110 | {{#if color}} | 110 | {{#if color}} |
@@ -101,8 +101,8 @@ | @@ -101,8 +101,8 @@ | ||
101 | <input id="gender" type="hidden" value={{gender}}> | 101 | <input id="gender" type="hidden" value={{gender}}> |
102 | {{/if}} | 102 | {{/if}} |
103 | 103 | ||
104 | - {{#if msort}} | ||
105 | - <input id="msort" type="hidden" value={{msort}}> | 104 | + {{#if sort}} |
105 | + <input id="sort" type="hidden" value={{sort}}> | ||
106 | {{/if}} | 106 | {{/if}} |
107 | 107 | ||
108 | {{#if color}} | 108 | {{#if color}} |
-
Please register or login to post a comment