diff options
| author | Jules Laplace <jules@okfoc.us> | 2015-11-19 18:44:57 -0500 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2015-11-19 18:44:57 -0500 |
| commit | 39b395f28ed7eb0d24eef6b2e50a3a235af0b31e (patch) | |
| tree | 0ab7e4f99e08a4efb5bda62888bfb92312f4b5a7 /StoneIsland/www/js/lib/account/orders/OrderList.js | |
| parent | ee15de014ecfc780c8bd86e00eb8b24bf6149db9 (diff) | |
some js for orders view
Diffstat (limited to 'StoneIsland/www/js/lib/account/orders/OrderList.js')
| -rw-r--r-- | StoneIsland/www/js/lib/account/orders/OrderList.js | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/StoneIsland/www/js/lib/account/orders/OrderList.js b/StoneIsland/www/js/lib/account/orders/OrderList.js new file mode 100644 index 00000000..876f609e --- /dev/null +++ b/StoneIsland/www/js/lib/account/orders/OrderList.js @@ -0,0 +1,17 @@ +var OrderList = ScrollableView.extend({ + + el: "#order_list", + + template: $("#order_list .template"), + + initialize: function(opt){ + this.parent = opt.parent + this.scroller = new IScroll('#order_list', app.iscroll_options) + }, + + show: function(){ + document.body.className = "orders" + app.orders.el.className = "list" + }, + +}) |
