fixed problems with scroll to load more
This commit is contained in:
parent
624dd9a1b9
commit
be8a0c63e3
10 changed files with 101 additions and 45 deletions
|
@ -14,7 +14,7 @@ requirejs.config({
|
|||
baseUrl: 'scripts'
|
||||
});
|
||||
|
||||
function start(view) {
|
||||
function start(view, callback) {
|
||||
|
||||
if (view == "oauth") {
|
||||
|
||||
|
@ -24,6 +24,15 @@ function start(view) {
|
|||
|
||||
});
|
||||
|
||||
} else if (view == "conversation-standalone") {
|
||||
|
||||
require(["controller/Conversation"], function(Conversation) {
|
||||
|
||||
bungloo.conversation = new Conversation(true);
|
||||
if(callback) callback();
|
||||
|
||||
});
|
||||
|
||||
} else {
|
||||
|
||||
|
||||
|
@ -141,7 +150,7 @@ function loadCssPlugin(css_url) {
|
|||
function debug(string) {
|
||||
|
||||
if (typeof string != "string") {
|
||||
string = JSON.stringify(string);
|
||||
string = JSON.stringify(string);
|
||||
}
|
||||
|
||||
console.debug(string);
|
||||
|
|
Reference in a new issue