Subversion Repositories SmartDukaan

Rev

Rev 18415 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 18415 Rev 18624
Line 67... Line 67...
67
        } catch(NumberFormatException ex) {
67
        } catch(NumberFormatException ex) {
68
            Window.alert("Format is not valid.");
68
            Window.alert("Format is not valid.");
69
            return;
69
            return;
70
        }
70
        }
71
        if (quantity < 1 || price < 1){
71
        if (quantity < 1 || price < 1){
72
        	Window.alert("Quantity is not valid");
72
        	Window.alert("Quantity/Price is not valid");
-
 
73
        	return;
73
        }
74
        }
74
        if(bulkPricingUpdateListener.onUpdate(quantity, price)) {
75
        if(bulkPricingUpdateListener.onUpdate(quantity, price)) {
75
            hide();
76
            hide();
76
        }
77
        }
77
    }
78
    }