From 37b29231e47a0c4458dc1c15d98588f16f07e1e2 Mon Sep 17 00:00:00 2001 From: Marius Cramer <m.cramer@pixcept.de> Date: Thu, 06 Aug 2015 03:18:44 -0400 Subject: [PATCH] - don't set password via remoting if field is empty --- interface/web/js/xmpp_domain_registration.js | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/interface/web/js/xmpp_domain_registration.js b/interface/web/js/xmpp_domain_registration.js index 3794bef..1ce239e 100644 --- a/interface/web/js/xmpp_domain_registration.js +++ b/interface/web/js/xmpp_domain_registration.js @@ -1,4 +1,6 @@ $('document').ready(function(){ + // Not needed as long as maildomain hook is not implemented + return; $('#management_method').on('select2-selecting', function(e){ val = e.choice ? e.choice.id : e.target.selectedIndex; if(val == 0){ -- Gitblit v1.9.1