Skip to content

Commit

Permalink
improves for framework reload plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
Codestar committed May 26, 2016
1 parent ac7422b commit 7bd27e3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions assets/js/cs-framework.js
Original file line number Diff line number Diff line change
Expand Up @@ -996,8 +996,6 @@
// main-shortcode attributes
$('[' + ruleAttr + ']', '.cs-dialog-load .cs-element:not(.hidden)').each( function() {
var _this_main = $(this), _this_main_atts = _this_main.data('atts');

console.log(_this_main_atts);
send_to_shortcode += base.validate_atts( _this_main_atts, _this_main ); // validate empty atts
});

Expand Down Expand Up @@ -1387,8 +1385,6 @@
// ------------------------------------------------------
$.CSFRAMEWORK.WIDGET_RELOAD_PLUGINS = function() {
$(document).on('widget-added widget-updated', function( event, $widget ) {
console.log(event);
console.log('here');
$widget.CSFRAMEWORK_RELOAD_PLUGINS();
$widget.CSFRAMEWORK_DEPENDENCY();
});
Expand Down
Loading

0 comments on commit 7bd27e3

Please sign in to comment.