X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/6362e543ec8e1a2661a58d440cb595b17ad4cca0..ca6c176908d9de318600355c92860ea489b4b3a1:/project/static/js/views/html.js?ds=inline diff --git a/project/static/js/views/html.js b/project/static/js/views/html.js index 3d803fc7..2e5f7cf0 100644 --- a/project/static/js/views/html.js +++ b/project/static/js/views/html.js @@ -31,6 +31,8 @@ var HTMLView = View.extend({ this.parent.freeze('Ładowanie...'); } else if (value == 'saving') { this.parent.freeze('Zapisywanie...'); + } else if (value == 'error') { + this.parent.freeze(this.model.get('error')); } },