From 677b94b27a586c1b81328fb0fd4346e202826b17 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C5=81ukasz=20Rekucki?= Date: Thu, 8 Oct 2009 14:48:17 +0200 Subject: [PATCH] Nic ciekawego. --- fabfile.py | 2 ++ project/static/js/models.js | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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 -- 2.20.1