not referencing parent scope when inside BEGIN in widgets tpl

This commit is contained in:
Julian Lam
2015-03-09 16:15:00 -04:00
parent d2e8d4d86e
commit bbbb362125
3 changed files with 5 additions and 6 deletions

View File

@@ -3,7 +3,7 @@
define('admin/extend/widgets', function() {
var Widgets = {};
Widgets.init = function() {
$('#widgets .nav-pills a').on('click', function(ev) {
var $this = $(this);