Subversion Repositories SmartDukaan

Rev

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

Rev 6096 Rev 6099
Line 967... Line 967...
967
        		paramsChanged1 = "You have changed following items.\n" + paramsChanged;
967
        		paramsChanged1 = "You have changed following items.\n" + paramsChanged;
968
        		Window.alert(paramsChanged1);
968
        		Window.alert(paramsChanged1);
969
        		validateNUpdate();
969
        		validateNUpdate();
970
        	}
970
        	}
971
        	if("\n-Expected Delay".equals(paramsChanged)){
971
        	if("\n-Expected Delay".equals(paramsChanged)){
-
 
972
        		if(Window.confirm("Would You like to update Expected delay on prod?")){
972
        		catalogService.updateExpectedDelayOnProd(item, new AsyncCallback<String>() {
973
	        		catalogService.updateExpectedDelayOnProd(item, new AsyncCallback<String>() {
973
                    @Override
974
	                    @Override
974
                    public void onSuccess(String result) {
975
	                    public void onSuccess(String result) {
975
                        Window.alert(result);
976
	                        Window.alert(result);
976
                    }
977
	                    }
977
                    @Override
978
	                    @Override
978
                    public void onFailure(Throwable caught) {
979
	                    public void onFailure(Throwable caught) {
979
                        Window.alert("Error while updating item on production");
980
	                        Window.alert("Error while updating item on production");
980
                    }
981
	                    }
981
                });
982
	                });
-
 
983
        		}
982
        	}
984
        	}
983
        }
985
        }
984
    }
986
    }
985
        
987
        
986
    
988