From: Ɓukasz Rekucki Date: Thu, 8 Oct 2009 12:48:17 +0000 (+0200) Subject: Nic ciekawego. X-Git-Url: https://git.mdrn.pl/redakcja.git/commitdiff_plain/677b94b27a586c1b81328fb0fd4346e202826b17?ds=sidebyside Nic ciekawego. --- diff --git a/fabfile.py b/fabfile.py index 1cf26790..404ec527 100644 --- a/fabfile.py +++ b/fabfile.py @@ -1,3 +1,5 @@ +from __future__ import with_statement + from fabric.api import run, env, cd def staging(): diff --git a/project/static/js/models.js b/project/static/js/models.js index e2ee8b15..9a42bca1 100644 --- a/project/static/js/models.js +++ b/project/static/js/models.js @@ -224,7 +224,7 @@ Editor.HTMLModel = Editor.Model.extend({ $.ajax({ url: this.dataURL, - dataType: 'text; charset=utf-8', + dataType: 'text', data: { revision: this.get('revision'), part: path