Download:
child 14:5cf3adbb8aec
parent 12:2c9942109f13
13:ce5b6e9b69b2
Anton Shestakov <engored@ya.ru>, Fri, 28 Dec 2012 02:23:22 +0900
Change workspace title after it's loaded.

1 файлов изменено, 2 вставок(+), 2 удалений(-) [+]
static/js/ui.js file | annotate | diff | comparison | revisions
--- a/static/js/ui.js Fri Dec 28 01:51:06 2012 +0900
+++ b/static/js/ui.js Fri Dec 28 02:23:22 2012 +0900
@@ -44,8 +44,6 @@
fruitbar.on('workspace', function(workspace) {
$('body').stop().animate({opacity: 0});
- this.workspaceTitleDisplayer.render(workspace);
-
this.xhrs.abort();
this.tasks.url = '/' + encodeURIComponent(workspace) + '/tasks/';
@@ -56,6 +54,8 @@
_(this.xhrs).each(function(fetch, index, xhrs) {
fetch.then(function() {
if (xhrs.done()) {
+ fruitbar.workspaceTitleDisplayer.render(workspace);
+
$('body').stop().animate({opacity: 1});
}
});