summaryrefslogtreecommitdiff
path: root/program/js/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'program/js/app.js')
-rw-r--r--program/js/app.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/program/js/app.js b/program/js/app.js
index c96c3ebee..53ae463b2 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -637,7 +637,11 @@ function rcube_webmail()
}
// contacts/identities
else {
- if ((input = $("input[name='_name']", form)) &&input.length && input.val() == '') {
+ //
+ if (props == 'reload') {
+ form.action += '?_reload=1';
+ }
+ else if ((input = $("input[name='_name']", form)) &&input.length && input.val() == '') {
alert(this.get_label('nonamewarning'));
input.focus();
break;