From 2ad9ccdc10d6516c51d0d8bde816f91518a4149d Mon Sep 17 00:00:00 2001 From: Arthur Britto Date: Sun, 17 Feb 2013 22:57:12 -0800 Subject: [PATCH] JS: Amount set_currency() nows sets _is_native. --- src/js/amount.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/js/amount.js b/src/js/amount.js index a3f1ac70c3..408f85818d 100644 --- a/src/js/amount.js +++ b/src/js/amount.js @@ -699,6 +699,7 @@ Amount.prototype.set_currency = function (c) { { c.copyTo(this._currency); } + this._is_native = this._currency.is_native(); return this; };