eggification
[Portfolio.git] / Products / Portfolio / skins / static / git-logo.png
diff --git a/skins/cart_listing.js b/skins/cart_listing.js
deleted file mode 100644 (file)
index cf160c3..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-/*
-* 2009 Benoit Pin - MINES ParisTech
-* http://plinn.org
-* Licence GPL
-*/
-
-var CartListing;
-
-(function(){
-var ENTERKEY = 13;
-
-CartListing = function(table) {
-       var thisCL = this;
-       this.table = table;
-       var form = table.parentNode;
-       while(form.tagName !== 'FORM') {
-               form = form.parentNode;}
-       
-       this.fm = new FormManager(form);
-       
-       if (browser.isIE){
-               addListener(table, 'focusout', function(evt){thisCL.updateRow(evt);});}
-       else{
-               addListener(table, 'change', function(evt){thisCL.updateRow(evt);});}
-       
-       addListener(table, 'keypress', function(evt){thisCL.onKeypress(evt);});
-};
-
-CartListing.prototype.updateRow = function(evt) {
-       var target = getTargetedObject(evt);
-       if (target.tagName !== 'INPUT'){
-               return;}
-                       
-       
-       var row = target.parentNode.parentNode;
-       var inputs = row.getElementsByTagName('input');
-       var refreshBtn = inputs[1];
-       this.fm.submitButton = refreshBtn;
-       this.fm.submit(evt);
-};
-
-CartListing.prototype.onKeypress = function(evt){
-       if (evt.keyCode === ENTERKEY){
-               this.updateRow(evt);}
-};
-
-}());