From: Anthony Talarico Date: Wed, 17 Apr 2019 16:53:24 +0000 (-0400) Subject: fixing an issue where deleting all of the shortcode attributes from the shortcode... X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=84244193f68de81de7c37d9a40cf1dcb4f4bbd50;p=WP-Plugins%2Fglm-member-db.git fixing an issue where deleting all of the shortcode attributes from the shortcode editor didn't clear the list --- diff --git a/js/shortcodeBuilder.js b/js/shortcodeBuilder.js index 5bc25c39..85cd4aae 100644 --- a/js/shortcodeBuilder.js +++ b/js/shortcodeBuilder.js @@ -136,6 +136,7 @@ jQuery(function ($) { $("#"+type+"-container").empty(); } $(this).parent().remove(); + shortcodeAttributes[type].list = []; } $(".delete-attribute").remove(); })