Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
erp5_rtl_support
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Romain Courteaud
erp5_rtl_support
Commits
4c09b548
Commit
4c09b548
authored
Mar 17, 2016
by
Xiaowu Zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_web_renderjs_ui: update JIO 3.10.1
parent
02a07723
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_jio_js.js
...enderjs_ui/PathTemplateItem/web_page_module/rjs_jio_js.js
+9
-2
No files found.
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_jio_js.js
View file @
4c09b548
/*! URI.js v1.12.0 http://medialize.github.com/URI.js/ */
/*! URI.js v1.12.0 http://medialize.github.com/URI.js/ */
/* build contains: IPv6.js, punycode.js, SecondLevelDomains.js, URI.js, URI.fragmentQuery.js */
/* build contains: IPv6.js, punycode.js, SecondLevelDomains.js, URI.js, URI.fragmentQuery.js */
(
function
(
e
,
k
){
"
object
"
===
typeof
exports
?
module
.
exports
=
k
():
"
function
"
===
typeof
define
&&
define
.
amd
?
define
(
k
):
e
.
IPv6
=
k
(
e
)})(
this
,
function
(
e
){
var
k
=
e
&&
e
.
IPv6
;
return
{
best
:
function
(
e
){
e
=
e
.
toLowerCase
().
split
(
"
:
"
);
var
k
=
e
.
length
,
d
=
8
;
""
===
e
[
0
]
&&
""
===
e
[
1
]
&&
""
===
e
[
2
]?(
e
.
shift
(),
e
.
shift
()):
""
===
e
[
0
]
&&
""
===
e
[
1
]?
e
.
shift
():
""
===
e
[
k
-
1
]
&&
""
===
e
[
k
-
2
]
&&
e
.
pop
();
k
=
e
.
length
;
-
1
!==
e
[
k
-
1
].
indexOf
(
"
.
"
)
&&
(
d
=
7
);
var
g
;
for
(
g
=
0
;
g
<
k
&&
""
!==
e
[
g
];
g
++
);
if
(
g
<
d
)
for
(
e
.
splice
(
g
,
1
,
"
0000
"
);
e
.
length
<
d
;)
e
.
splice
(
g
,
0
,
"
0000
"
);
for
(
g
=
0
;
g
<
d
;
g
++
){
for
(
var
k
=
(
function
(
e
,
k
){
"
object
"
===
typeof
exports
?
module
.
exports
=
k
():
"
function
"
===
typeof
define
&&
define
.
amd
?
define
(
k
):
e
.
IPv6
=
k
(
e
)})(
this
,
function
(
e
){
var
k
=
e
&&
e
.
IPv6
;
return
{
best
:
function
(
e
){
e
=
e
.
toLowerCase
().
split
(
"
:
"
);
var
k
=
e
.
length
,
d
=
8
;
""
===
e
[
0
]
&&
""
===
e
[
1
]
&&
""
===
e
[
2
]?(
e
.
shift
(),
e
.
shift
()):
""
===
e
[
0
]
&&
""
===
e
[
1
]?
e
.
shift
():
""
===
e
[
k
-
1
]
&&
""
===
e
[
k
-
2
]
&&
e
.
pop
();
k
=
e
.
length
;
-
1
!==
e
[
k
-
1
].
indexOf
(
"
.
"
)
&&
(
d
=
7
);
var
g
;
for
(
g
=
0
;
g
<
k
&&
""
!==
e
[
g
];
g
++
);
if
(
g
<
d
)
for
(
e
.
splice
(
g
,
1
,
"
0000
"
);
e
.
length
<
d
;)
e
.
splice
(
g
,
0
,
"
0000
"
);
for
(
g
=
0
;
g
<
d
;
g
++
){
for
(
var
k
=
...
@@ -9183,7 +9182,8 @@ return new Parser;
...
@@ -9183,7 +9182,8 @@ return new Parser;
parsed_query
,
parsed_query
,
sub_query
,
sub_query
,
result_list
,
result_list
,
local_roles
;
local_roles
,
tmp_list
=
[];
if
(
options
.
query
)
{
if
(
options
.
query
)
{
parsed_query
=
jIO
.
QueryFactory
.
create
(
options
.
query
);
parsed_query
=
jIO
.
QueryFactory
.
create
(
options
.
query
);
...
@@ -9225,6 +9225,13 @@ return new Parser;
...
@@ -9225,6 +9225,13 @@ return new Parser;
}
}
}
}
if
(
options
.
sort_on
)
{
for
(
i
=
0
;
i
<
options
.
sort_on
.
length
;
i
+=
1
)
{
tmp_list
.
push
(
JSON
.
stringify
(
options
.
sort_on
[
i
]));
}
options
.
sort_on
=
tmp_list
;
}
return
jIO
.
util
.
ajax
({
return
jIO
.
util
.
ajax
({
"
type
"
:
"
GET
"
,
"
type
"
:
"
GET
"
,
"
url
"
:
UriTemplate
.
parse
(
site_hal
.
_links
.
raw_search
.
href
)
"
url
"
:
UriTemplate
.
parse
(
site_hal
.
_links
.
raw_search
.
href
)
...
...
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