All-in-One Event Calendar
Minify Breaks Admin (2 posts)

  1. ctoestreich
    Posted 4 years ago #

    w3 page minify was minifying the add_new_events.js. You need to add a ; after the regex string for this plugin to work correctly:

    var isUrl = function( s ) {
            var regexp = /(http|https|webcal):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?/;
            return regexp.test(s);

    without that ; after the regex var it gets compressed to ?/return and that isn't a valid regex string expression


  2. sauril
    Posted 4 years ago #

    Thanks for the heads up, we'll look into this.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • All-in-One Event Calendar
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic