From: Arthur Schiwon Date: Thu, 9 Apr 2015 12:44:40 +0000 (+0200) Subject: fix number and insert position when adding/copying a config X-Git-Tag: v8.1.0alpha1~43^2~3 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=3abc72dad8f1efa5722a24aa2366c6086899196c;p=nextcloud-server.git fix number and insert position when adding/copying a config --- 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); } },