fixing an issue where deleting all of the shortcode attributes from the shortcode...
authorAnthony Talarico <talarico@gaslightmedia.com>
Wed, 17 Apr 2019 16:53:24 +0000 (12:53 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Wed, 17 Apr 2019 16:53:24 +0000 (12:53 -0400)
js/shortcodeBuilder.js

index 5bc25c3..85cd4aa 100644 (file)
@@ -136,6 +136,7 @@ jQuery(function ($) {
                 $("#"+type+"-container").empty();
             }
             $(this).parent().remove();
+            shortcodeAttributes[type].list = [];
         }
         $(".delete-attribute").remove();
     })