U4-8868 Ensuring all usages of .live() is updated

changed .on bind handlers to use .live instead.
removed an old jquery.1.4.4 which seems unreferenced and unused in the whole project.
This commit is contained in:
Claus
2016-08-18 12:45:15 +02:00
parent f658613fad
commit 344dab65d4
7 changed files with 15 additions and 275 deletions

View File

@@ -274,13 +274,13 @@
//remove all trashed nodes
rightCol.find("li[rel='trashed']").closest(".item").remove();
//live click handlers for the removal of items
$(".item a.close", rightCol).live("click", function () {
//click handlers for the removal of items
$(".item a.close", rightCol).on("click", function () {
$(this).closest(".item").remove();
StorePickedNodes(hiddenField, rightCol);
});
//create live click handlers to the right hand items
$(".item ul li a", rightCol).live("click", function () {
//create click handlers to the right hand items
$(".item ul li a", rightCol).on("click", function () {
SyncItems($(this).parent());
});