From deb0c90b1c089230918efab45deec35c3bea3d62 Mon Sep 17 00:00:00 2001 From: zuber Date: Mon, 28 Sep 2009 16:19:03 +0200 Subject: [PATCH] =?utf8?q?Cofni=C4=99cie=20cz=C4=99=C5=9Bci=20zmian=20z=20?= =?utf8?q?poprzedniego=20commitu.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- project/static/js/views/html.js | 8 ++++---- project/static/js/views/xml.js | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/project/static/js/views/html.js b/project/static/js/views/html.js index 058b0192..3d803fc7 100644 --- a/project/static/js/views/html.js +++ b/project/static/js/views/html.js @@ -24,13 +24,13 @@ var HTMLView = View.extend({ modelStateChanged: function(property, value) { if (value == 'synced' || value == 'dirty') { - this.unfreeze(); + this.parent.unfreeze(); } else if (value == 'unsynced') { - this.freeze('Niezsynchronizowany...'); + this.parent.freeze('Niezsynchronizowany...'); } else if (value == 'loading') { - this.freeze('Ładowanie...'); + this.parent.freeze('Ładowanie...'); } else if (value == 'saving') { - this.freeze('Zapisywanie...'); + this.parent.freeze('Zapisywanie...'); } }, diff --git a/project/static/js/views/xml.js b/project/static/js/views/xml.js index a1b6ca63..6b7571a3 100644 --- a/project/static/js/views/xml.js +++ b/project/static/js/views/xml.js @@ -66,13 +66,13 @@ var XMLView = View.extend({ modelStateChanged: function(property, value) { if (value == 'synced' || value == 'dirty') { - this.unfreeze(); + this.parent.unfreeze(); } else if (value == 'unsynced') { - this.freeze('Niezsynchronizowany...'); + this.parent.freeze('Niezsynchronizowany...'); } else if (value == 'loading') { - this.freeze('Ładowanie...'); + this.parent.freeze('Ładowanie...'); } else if (value == 'saving') { - this.freeze('Zapisywanie...'); + this.parent.freeze('Zapisywanie...'); } }, -- 2.20.1