Consistently use event prefix for calendar and list templates

Retain backwards compatibility
This commit is contained in:
Brian Miyaji
2014-03-22 17:21:56 +11:00
parent d433a58eb0
commit c30b7eb664
11 changed files with 45 additions and 110 deletions

View File

@@ -37,8 +37,8 @@ jQuery(document).ready(function($){
});
// Calendar affects view all link checkbox in widget options
$("body.widgets-php").on("change", ".sp-events-calendar-select", function() {
$el = $(this).closest(".widget-content").find(".sp-events-calendar-show-all-toggle");
$("body.widgets-php").on("change", ".sp-event-calendar-select", function() {
$el = $(this).closest(".widget-content").find(".sp-event-calendar-show-all-toggle");
if($(this).val() == 0)
$el.hide();
else