Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
0d826876
Commit
0d826876
authored
Mar 30, 2007
by
Nigel McNie
Committed by
Nigel McNie
Mar 30, 2007
Browse files
In the init() function, only show the 'no results' message if the page
is already loaded. Also, at that point, remove the loading message
parent
71587b59
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/js/tablerenderer.js
View file @
0d826876
...
...
@@ -49,9 +49,15 @@ function TableRenderer(target, source, columns, options) {
self
.
assertPager
(
self
.
offset
,
self
.
limit
,
self
.
count
);
}
if
(
typeof
(
self
.
emptycontent
)
!=
'
undefined
'
)
{
self
.
emptycontent
=
DIV
(
null
,
self
.
emptycontent
);
insertSiblingNodesBefore
(
self
.
table
,
self
.
emptycontent
);
if
(
TableRendererPageLoaded
)
{
if
(
typeof
(
self
.
emptycontent
)
!=
'
undefined
'
)
{
self
.
emptycontent
=
DIV
(
null
,
self
.
emptycontent
);
insertSiblingNodesBefore
(
self
.
table
,
self
.
emptycontent
);
}
if
(
self
.
loadingMessage
)
{
removeElement
(
self
.
loadingMessage
);
self
.
loadingMessage
=
null
;
}
}
};
...
...
Write
Preview
Supports
Markdown
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