mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
fixed error property $ of object is not a function
changed $ to jQuery, because without it the system would generate the following error: Uncaught TypeError: Property '$' of object [object Window] is not a function
This commit is contained in:
parent
d00fa67f3e
commit
396af557df
@ -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});
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user