CRM-13973 : fix for #comment-58346

the issue raised due to :

while performing 'save and new' button action from within a popup, inside the code we have checked for a 'condition', and after successfully meeting that condition we open a 'new form' (via redirection) inside the popup.

This condition is like : <code>response.userContext && settings.refreshAction && $.inArray(response.buttonName, settings.refreshAction) >= 0 </code> , in which <code>$.inArray(response.buttonName, settings.refreshAction) </code> condition is not met and hence the redirection or new form load doesn't take place.

The fix: defined a new value 'upload_new' to settings.refreshAction as this value is return after every 'save and new' button click.