Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
officejs
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
officejs
Commits
da79424c
Commit
da79424c
authored
May 21, 2012
by
Tristan Cavelier
Committed by
Sebastien Robin
Jun 07, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Array browsing other bugs fixed.
parent
a969eb49
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
OfficeJS/src/jio.js
OfficeJS/src/jio.js
+3
-6
No files found.
OfficeJS/src/jio.js
View file @
da79424c
...
@@ -258,10 +258,7 @@ var JIO =
...
@@ -258,10 +258,7 @@ var JIO =
// options.jioID : the jio ID
// options.jioID : the jio ID
var
k
,
emptyfun
=
function
(){},
var
k
,
emptyfun
=
function
(){},
jioIdArray
=
jioGlobalObj
.
localStorage
.
getItem
(
jioIdArrayName
);
jioIdArray
=
jioGlobalObj
.
localStorage
.
getItem
(
jioIdArrayName
)
||
[];
if
(
jioIdArray
===
null
)
{
jioIdArray
=
[];
}
if
(
options
.
publisher
)
{
if
(
options
.
publisher
)
{
priv
.
publisher
=
publisher
;
priv
.
publisher
=
publisher
;
}
}
...
@@ -289,7 +286,7 @@ var JIO =
...
@@ -289,7 +286,7 @@ var JIO =
// Returns a new queueID
// Returns a new queueID
var
k
=
null
,
id
=
0
,
var
k
=
null
,
id
=
0
,
jioIdArray
=
jioGlobalObj
.
localStorage
.
getItem
(
jioIdArrayName
);
jioIdArray
=
jioGlobalObj
.
localStorage
.
getItem
(
jioIdArrayName
)
||
[]
;
for
(
k
=
0
;
k
<
jioIdArray
.
length
;
k
+=
1
)
{
for
(
k
=
0
;
k
<
jioIdArray
.
length
;
k
+=
1
)
{
if
(
jioIdArray
[
k
]
>=
jioGlobalObj
.
queueID
)
{
if
(
jioIdArray
[
k
]
>=
jioGlobalObj
.
queueID
)
{
jioGlobalObj
.
queueID
=
jioIdArray
[
k
]
+
1
;
jioGlobalObj
.
queueID
=
jioIdArray
[
k
]
+
1
;
...
@@ -303,7 +300,7 @@ var JIO =
...
@@ -303,7 +300,7 @@ var JIO =
// recover job object from older inactive jio
// recover job object from older inactive jio
var
k
=
null
,
newJioIdArray
=
[],
jioIdArrayChanged
=
false
,
var
k
=
null
,
newJioIdArray
=
[],
jioIdArrayChanged
=
false
,
jioIdArray
=
jioGlobalObj
.
localStorage
.
getItem
(
jioIdArrayName
);
jioIdArray
=
jioGlobalObj
.
localStorage
.
getItem
(
jioIdArrayName
)
||
[]
;
for
(
k
=
0
;
k
<
jioIdArray
.
length
;
k
+=
1
)
{
for
(
k
=
0
;
k
<
jioIdArray
.
length
;
k
+=
1
)
{
if
(
jioGlobalObj
.
localStorage
.
getItem
(
if
(
jioGlobalObj
.
localStorage
.
getItem
(
'
jio/id/
'
+
jioIdArray
[
k
])
<
Date
.
now
()
-
10000
)
{
'
jio/id/
'
+
jioIdArray
[
k
])
<
Date
.
now
()
-
10000
)
{
...
...
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