1
0
mirror of https://github.com/e107inc/e107.git synced 2025-10-10 04:24:45 +02:00

jQuery upgraded to the latest and greatest 2.1.1; fixed calls to obsolete live() in all core js libraries

This commit is contained in:
SecretR
2014-11-04 16:12:18 +02:00
parent 0650acbf6c
commit adc1f826b8
7 changed files with 79 additions and 76 deletions

View File

@@ -148,7 +148,7 @@ $(document).ready(function()
/* InfoPanel Comment approval and deletion */
$("button[data-comment-action]").live("click", function(){
$(document).on("click", "button[data-comment-action]", function(){
var url = $(this).attr("data-target");
var action = $(this).attr('data-comment-action');
@@ -358,9 +358,9 @@ $(document).ready(function()
});
// $(".e-spinner").spinner(); //FIXME breaks tooltips etc.
$(".e-alert").live("click", function(){
$(document).on("click", ".e-alert", function(){
var message = $(this).html();
alert(message);