You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
When create item fail and the controller action render :new again I have active the index link option because of this: (in sb-admin-2.js)
var url = window.location;
var element = $('ul.nav a').filter(function() {
return this.href == url;
}).addClass('active').parents('ul').addClass('in');
if (element.is('li')) {
element.addClass('active');
}
the render :new set url without /new and the href checkin in js is true...
Regards,
Carlos
The text was updated successfully, but these errors were encountered:
Hi,
When create item fail and the controller action render :new again I have active the index link option because of this: (in sb-admin-2.js)
var url = window.location;
var element = $('ul.nav a').filter(function() {
return this.href == url;
}).addClass('active').parents('ul').addClass('in');
if (element.is('li')) {
element.addClass('active');
}
the render :new set url without /new and the href checkin in js is true...
Regards,
Carlos
The text was updated successfully, but these errors were encountered: