Skip to content

Commit b561f6a

Browse files
committed
stop showing loading... text
1 parent 3f9a2ab commit b561f6a

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

src/Angular.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ function wireAngular(element, config) {
282282
var server = config['database'] =="$MEMORY" ?
283283
new FrameServer(window) :
284284
new Server(config['server'], jQuery['getScript']);
285-
server = new VisualServer(server, new Status(element.find('body')), onUpdate);
285+
server = new VisualServer(server, new NullStatus(element.find('body')), onUpdate);
286286
var users = new Users(server, controlBar);
287287
var databasePath = '/data/' + config['database'];
288288
var post = function(request, callback){
@@ -368,4 +368,4 @@ angular['compile'] = function(element, config) {
368368
configureJQueryPlugins();
369369

370370
return wireAngular(jQuery(element), config);
371-
};
371+
};

src/Widgets.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -775,6 +775,13 @@ PopUp.prototype = {
775775
// Status
776776
//////////////////////////////////
777777

778+
function NullStatus(body) {
779+
};
780+
781+
NullStatus.prototype = {
782+
beginRequest:function(){},
783+
endRequest:function(){}
784+
};
778785

779786
function Status(body) {
780787
this.requestCount = 0;

0 commit comments

Comments
 (0)