Skip to content

Commit

Permalink
fixed error property $ of object is not a function
Browse files Browse the repository at this point in the history
changed $ to jQuery, because without it the system would generate the following error:

Uncaught TypeError: Property '$' of object [object Window] is not a function 
  • Loading branch information
roed committed Feb 19, 2013
1 parent d00fa67 commit 396af55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/javascript/LeftAndMain.js
Expand Up @@ -1051,7 +1051,7 @@ jQuery.noConflict();
}(jQuery));

var statusMessage = function(text, type) {
text = $('<div/>').text(text).html(); // Escape HTML entities in text
text = jQuery('<div/>').text(text).html(); // Escape HTML entities in text
jQuery.noticeAdd({text: text, type: type});
};

Expand Down

0 comments on commit 396af55

Please sign in to comment.