Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var BidForm = (function() {
- var _instance = null;
- var klass = Class.create(Bid, {
- initialize: function(options) {
- if (_instance) return null;
- // loaded an existing bid, must be instantiated first, because the
- // latter auction objects pass/pull data from the Bid singelton
- this.BidGroups = BidGroups.instance();
- this.BidQty = BidQty.instance();
- this.BidAmt = BidAmt.instance();
- // after groups, qty and amt are setup, run the bid status logic
- this.BidStatus = BidStatus.instance();
- $('bidTickets_reset').observe('click', this.reset.bindAsEventListener(this));
- $('bidTickets_submit').observe('click', this.submit.bindAsEventListener(this));
- },
- etc....
Add Comment
Please, Sign In to add comment