Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
brainfood
/
ofbiz-comet-messenger
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
7275f269
authored
2015-03-26 17:25:12 -0500
by
Ean Schuessler
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
#5167 remove callback once loaded
1 parent
ba90b750
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
webapp/scripts/messenger.js
webapp/scripts/messenger.js
View file @
7275f26
...
...
@@ -10,6 +10,9 @@ define([], function() {
request
.
onreadystatechange
=
function
()
{
if
(
request
.
readyState
==
3
||
request
.
readyState
==
4
)
{
if
(
request
.
status
==
200
){
if
(
request
.
onreadystatechange
)
{
request
.
onreadystatechange
=
null
;
}
if
(
request
.
responseText
)
{
var
newText
=
request
.
responseText
.
substr
(
responseLength
);
if
(
newText
.
length
>
0
)
{
...
...
Please
register
or
sign in
to post a comment