Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
ecommerce-ui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
ecommerce-ui
Commits
cbe324f1
Commit
cbe324f1
authored
Jul 24, 2013
by
Sven Franck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added cases as-is and firstCap to querystring cases
parent
74f366a7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
modules/storage/storage.js
modules/storage/storage.js
+7
-1
No files found.
modules/storage/storage.js
View file @
cbe324f1
...
...
@@ -681,9 +681,15 @@ define([
// > with different cases (currently upper/lower case),
// > on full select_list (passed elements or default),
// > without a query object, if empty string is passed (nothing to parse, faster search)
// > TODO: optionable?
if
(
spec
.
query
)
{
if
(
spec
.
query_string
!==
""
)
{
cases
.
push
(
spec
.
query_string
.
toUpperCase
(),
spec
.
query_string
.
toLowerCase
());
cases
.
push
(
spec
.
query_string
,
spec
.
query_string
.
toUpperCase
(),
spec
.
query_string
.
toLowerCase
(),
spec
.
query_string
.
charAt
(
0
).
toUpperCase
()
+
spec
.
query_string
.
slice
(
1
)
);
for
(
j
=
0
;
j
<
cases
.
length
;
j
+=
1
)
{
for
(
i
=
0
;
i
<
spec
.
options
.
select_list
.
length
;
i
+=
1
)
{
item
=
spec
.
options
.
select_list
[
i
];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment