summaryrefslogtreecommitdiffstats
path: root/web-gui
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2010-06-04 14:37:57 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2010-06-04 14:37:57 +0200
commit49a1584de9a31660c5da4f98fd9daffd2b2f88a1 (patch)
tree1b38db678b492fc3405f71e2c085dcb49ded9aa1 /web-gui
parent7c14749be1a86afc4f06ead8f843685b723879ec (diff)
downloadjson-dbus-bridge-examples-49a1584de9a31660c5da4f98fd9daffd2b2f88a1.tar.gz
[calculator] reverse op button order
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'web-gui')
-rw-r--r--web-gui/calculator/source/class/calculator/Application.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/web-gui/calculator/source/class/calculator/Application.js b/web-gui/calculator/source/class/calculator/Application.js
index 0e3652a..7cafb12 100644
--- a/web-gui/calculator/source/class/calculator/Application.js
+++ b/web-gui/calculator/source/class/calculator/Application.js
@@ -126,11 +126,11 @@ qx.Class.define("calculator.Application",
button.setAppearance("calc-button");
}
- makeOpp("=", null, 1, 4);
- makeOpp("+", "Add", 2, 4);
+ makeOpp("=", null, 5, 4);
+ makeOpp("+", "Add", 4, 4);
makeOpp("-", "Sub", 3, 4);
- makeOpp("*", "Multiply", 4, 4);
- makeOpp("/", "Divide", 5, 4);
+ makeOpp("*", "Multiply", 2, 4);
+ makeOpp("/", "Divide", 1, 4);
this.__rpc = new qx.io.remote.Rpc("http://localhost:8080/rpc", "com.pengutronix.jdb.Calculator|/");