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
eea85d6f
Commit
eea85d6f
authored
Jun 16, 2011
by
Siddhant Sanyam
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed getCurrentDocument is not a function
parent
9d773a3f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
UNGProject/js/editor.js
UNGProject/js/editor.js
+1
-1
UNGProject/js/theme.js
UNGProject/js/theme.js
+1
-0
UNGProject/theme.html
UNGProject/theme.html
+1
-1
No files found.
UNGProject/js/editor.js
View file @
eea85d6f
...
@@ -52,7 +52,7 @@ getCurrentDocument = function() {
...
@@ -52,7 +52,7 @@ getCurrentDocument = function() {
doc
.
load
(
JSON
.
parse
(
localStorage
.
getItem
(
"
currentDocument
"
)));
doc
.
load
(
JSON
.
parse
(
localStorage
.
getItem
(
"
currentDocument
"
)));
return
doc
;
return
doc
;
}
}
(
new
JSONTextDocument
()).
setAsCurrentDocument
();
//load the document (it's just for testing)
saveCurrentDocument
=
function
()
{
saveCurrentDocument
=
function
()
{
...
...
UNGProject/js/theme.js
View file @
eea85d6f
...
@@ -146,6 +146,7 @@ User.prototype = {
...
@@ -146,6 +146,7 @@ User.prototype = {
setIdentityProvider
:
function
(
IDProv
)
{
this
.
identityProvider
=
IDProv
;},
setIdentityProvider
:
function
(
IDProv
)
{
this
.
identityProvider
=
IDProv
;},
setAsCurrentUser
:
function
()
{
setAsCurrentUser
:
function
()
{
getCurrentPage
().
displayUserName
(
this
);
getCurrentPage
().
displayUserName
(
this
);
getCurrentPage
().
displayLanguages
(
this
);
getCurrentPage
().
displayLanguages
(
this
);
setCurrentUser
(
this
);
setCurrentUser
(
this
);
...
...
UNGProject/theme.html
View file @
eea85d6f
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
<script
type=
"text/javascript"
src=
"js/base64.js"
></script>
<script
type=
"text/javascript"
src=
"js/base64.js"
></script>
<script
type=
"text/javascript"
src=
"js/tools.js"
></script>
<script
type=
"text/javascript"
src=
"js/tools.js"
></script>
<script
type=
"text/javascript"
src=
"js/theme.js"
></script>
<script
type=
"text/javascript"
src=
"js/theme.js"
></script>
<script
type=
"text/javascript"
src=
"js/editor.js"
></script>
<script
type=
"text/javascript"
>
<script
type=
"text/javascript"
>
// initialize
// initialize
...
...
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