From 5b3ac324154b0d29e6e14db2b06fbc3636a3e708 Mon Sep 17 00:00:00 2001 From: alecpl Date: Sat, 2 Jul 2011 15:27:46 +0000 Subject: - Added addressbook source selector in contact create form --- program/js/app.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'program/js') 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; -- cgit v1.2.3