Subversion Repositories munaweb

Rev

Rev 128 | Rev 142 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 128 Rev 139
Line 1618... Line 1618...
1618
        var returnCode = obj.Ack;
1618
        var returnCode = obj.Ack;
1619
        var x = document.getElementById("results");
1619
        var x = document.getElementById("results");
1620
        var str = "";
1620
        var str = "";
1621
 
1621
 
1622
        if (returnCode == 'Success' ||
1622
        if (returnCode == 'Success' ||
1623
            (returnCode == 'Warning' && (obj.Errors.ErrorCode == '21920204' || obj.Errors.ErrorCode == '21917108' || obj.Errors.ErrorCode == '21920205' || obj.Errors.ErrorCode == '21917164'))) {
1623
            (returnCode == 'Warning' && (obj.Errors.ErrorCode == '21920204' || obj.Errors.ErrorCode == '21917108' || obj.Errors.ErrorCode == '21920205' || obj.Errors.ErrorCode == '21917164' || obj.Errors.ErrorCode == '21920208'))) {
1624
            listButtonHot(true);
1624
            listButtonHot(true);
1625
 
1625
 
1626
            str += '<div class="alert ' + (returnCode == 'Success' ? "alert-success" : "alert-warning" ) + ' alert-dismissible">';
1626
            str += '<div class="alert ' + (returnCode == 'Success' ? "alert-success" : "alert-warning" ) + ' alert-dismissible">';
1627
            str += '<button type="button" class="close" data-dismiss="alert">×</button>';
1627
            str += '<button type="button" class="close" data-dismiss="alert">×</button>';
1628
            str += '<p><strong>' + returnCode + ':</strong></p>';
1628
            str += '<p><strong>' + returnCode + ':</strong></p>';
Line 1762... Line 1762...
1762
        if (x.className.indexOf("w3-show") == -1) {
1762
        if (x.className.indexOf("w3-show") == -1) {
1763
            x.className += " w3-show";
1763
            x.className += " w3-show";
1764
        }
1764
        }
1765
 
1765
 
1766
        if (returnCode == 'Success' ||
1766
        if (returnCode == 'Success' ||
1767
            (returnCode == 'Warning' && (obj.Errors.ErrorCode == '21920204' || obj.Errors.ErrorCode == '21917108' || obj.Errors.ErrorCode == '21920205' || obj.Errors.ErrorCode == '21917164'))) {
1767
            (returnCode == 'Warning' && (obj.Errors.ErrorCode == '21920204' || obj.Errors.ErrorCode == '21917108' || obj.Errors.ErrorCode == '21920205' || obj.Errors.ErrorCode == '21917164' || obj.Errors.ErrorCode == '21920208'))) {
1768
            listButtonHot(false);
1768
            listButtonHot(false);
1769
            moveImages();
1769
            moveImages();
1770
            ImageURLs = [];
1770
            ImageURLs = [];
1771
            document.getElementById("title").value = "";
1771
            document.getElementById("title").value = "";
1772
            printTitleLength();
1772
            printTitleLength();
Line 2008... Line 2008...
2008
    xw.writeStartElement('StartPrice');
2008
    xw.writeStartElement('StartPrice');
2009
    xw.writeAttributeString('currencyID', 'USD');
2009
    xw.writeAttributeString('currencyID', 'USD');
2010
    xw.writeString(document.getElementById('price').value);
2010
    xw.writeString(document.getElementById('price').value);
2011
    xw.writeEndElement(); /* StartPrice */
2011
    xw.writeEndElement(); /* StartPrice */
2012
 
2012
 
2013
//    xw.writeElementString('PayPalEmailAddress', configLinkedPayPal);
2013
    xw.writeElementString('PayPalEmailAddress', configLinkedPayPal);
2014
//    xw.writeElementString('PaymentMethods', 'PayPal');
2014
    xw.writeElementString('PaymentMethods', 'PayPal');
2015
    xw.writeElementString('Quantity', document.getElementById('quantity').value);
2015
    xw.writeElementString('Quantity', document.getElementById('quantity').value);
2016
    xw.writeElementString('Title', escapeXml(document.getElementById('title').value));
2016
    xw.writeElementString('Title', escapeXml(document.getElementById('title').value));
2017
    if (!isManualMode) {
2017
    if (!isManualMode) {
2018
        xw.writeElementString('SKU', escapeXml(document.getElementById('sku').value));
2018
        xw.writeElementString('SKU', escapeXml(document.getElementById('sku').value));
2019
    } else {
2019
    } else {