JavaScript Mootools: "../javascript/mootools/mootools-more-nc.js" in "/usr/share/zoneminder/skins/classic/includes/functions.php" Line 62,63

Bug #806101 reported by JakFrost
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
zoneminder (Debian)
Fix Released
Unknown
zoneminder (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Incorrect reference to JavaScript Mootools in the file below.

Solution:

$ sed -rune "62,63 p" /usr/share/zoneminder/skins/classic/includes/functions.php
  <script type="text/javascript" src="../javascript/mootools/mootools-core-nc.js"></script>
  <script type="text/javascript" src="../javascript/mootools/mootools-more-nc.js"></script>

Zoneminder Forums - [SOLVED] How to create a motion detect zone in ZM?
http://www.zoneminder.com/forums/viewtopic.php?f=21&t=17586&p=70422#p70422

Revision history for this message
JakFrost (jakfrost273) wrote :

The original references were to mootools.js and mootools-more.js which as linked to the real files, but for some reason the file does not respect the links and requires hard-paths to the physical files.

Revision history for this message
JakFrost (jakfrost273) wrote :

Also the original references to "/javascript/mootools/*" do not work since there is no "javascript" directory under "/usr/share/zoneminder", only "tools/" which is empty.

Tried adding a symlink under "/usr/share/zoneminder/tools" mootools -> "/usr/share/javascript/mootools" but that didn't work either.

The solution I posted in the first post works, but might not look the best with the "../" backreference into "/usr/share" to get into "javascript/mootools/mootools-(core|more)-nc.js" files.

Victor Vargas (kamus)
Changed in zoneminder (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
Changed in zoneminder (Debian):
status: Unknown → Fix Released
Revision history for this message
Micah Gersten (micahg) wrote :

This is now fixed in version 1.24.4-1 in oneiric. Please report any other issues you may find.

Changed in zoneminder (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.