widgets save button

v1.18.x
psychobunny 10 years ago
parent dfa4f47289
commit 9dcaafdb1b

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

@ -22,7 +22,6 @@
</div> </div>
<!-- END templates --> <!-- END templates -->
</div> </div>
<button class="btn btn-success save pull-right">Save</button>
</div> </div>
</div> </div>
</div> </div>
@ -115,3 +114,7 @@
</div> </div>
</div> </div>
</div> </div>
<button id="save" class="floating-button mdl-button mdl-js-button mdl-button--fab mdl-js-ripple-effect mdl-button--colored">
<i class="material-icons">save</i>
</button>
Loading…
Cancel
Save