widgets save button

This commit is contained in:
psychobunny
2015-08-20 15:21:35 -04:00
parent dfa4f47289
commit 9dcaafdb1b
2 changed files with 6 additions and 3 deletions

View File

@@ -71,7 +71,7 @@ define('admin/extend/widgets', function() {
}
});
$('#widgets .save').on('click', saveWidgets);
$('#save').on('click', saveWidgets);
function saveWidgets() {
var total = $('#widgets [data-template][data-location]').length;