Project

General

Profile

Bug #2098

js file not found mmenu.js

Added by Julio Montoya about 9 years ago. Updated almost 9 years ago.

Status:
Feature implemented
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
01/10/2010
Due date:
% Done:

100%

Estimated time:
Complexity:
Normal
SCRUM pts - complexity:
?

Description

I found in my error logs calls to this js script : main/inc/lib/javascript/mmenu.js

somebody is using it?


Related issues

Has duplicate Chamilo LMS - Bug #2166: A missing javascript .../lib/javascript/mmenu.jsRejected - Abandoned17/10/2010

Actions

History

#1

Updated by Julio Montoya about 9 years ago

File: chamilo/main/inc/header.inc.php
Line 121:

<script src= "javascript/mmenu.js" type="text/javascript"></script>

#2

Updated by Ivan Tcholakov about 9 years ago

I don't use it.

#3

Updated by Julio Montoya about 9 years ago

  • Target version set to 1.8.8 alpha
#5

Updated by Yannick Warnier about 9 years ago

Sometimes a JS or img is loaded from another JS, which cannot find the right path to the server root. A way to make this possible has been implemented in http://code.google.com/p/chamilo/source/detail?r=3509b0a1be8e67264549b0e13e5a65b86d5deccd&repo=classic and is composed of the following lines of code (in the case of thickbox.js):

// Identify the url of the current script to load the loadingAnimation.gif animation
var src=document.getElementsByTagName('script');
var src=src[src.length-1].getAttribute('src');
// remove the inc/lib/javascript/thickbox.js part (30 characters)
var src=src.substr(0,src.length-30);
var tb_pathToImage = src+"img/loadingAnimation.gif";

#6

Updated by Julio Montoya almost 9 years ago

  • Status changed from New to Feature implemented
  • % Done changed from 0 to 100

it seems to be resolved, at least I don't have the error log messages

Also available in: Atom PDF