From 3abc72dad8f1efa5722a24aa2366c6086899196c Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Thu, 9 Apr 2015 14:44:40 +0200 Subject: [PATCH] fix number and insert position when adding/copying a config --- apps/user_ldap/js/wizard/wizardTabElementary.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/user_ldap/js/wizard/wizardTabElementary.js b/apps/user_ldap/js/wizard/wizardTabElementary.js index f4a966328c1..c7767b9cf66 100644 --- a/apps/user_ldap/js/wizard/wizardTabElementary.js +++ b/apps/user_ldap/js/wizard/wizardTabElementary.js @@ -205,8 +205,8 @@ OCA = OCA || {}; onNewConfiguration: function(view, result) { if(result.isSuccess === true) { $(view.configChooserID + ' option:selected').removeAttr('selected'); - var html = ''; - $(view.configChooserID + ' option:last').before(html); + var html = ''; + $(view.configChooserID + ' option:last').after(html); } }, -- 2.39.5