From 96cdf7c93e6c7bec2d25238aa57fc094c3a4c5cf Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Mon, 15 Aug 2016 15:14:05 -0400 Subject: [PATCH] Don't use .load() - it's deprecated now and removed in jQuery 3.x --- plugins/kolab_notes/notes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/kolab_notes/notes.js b/plugins/kolab_notes/notes.js index cd52c3bf..3491bc81 100644 --- a/plugins/kolab_notes/notes.js +++ b/plugins/kolab_notes/notes.js @@ -1233,7 +1233,7 @@ function rcube_kolab_notes_ui(settings) } } - $(printwin).load(function(){ + $(printwin).on('load', function() { printwin.document.title = data.title; $('#notetitle', printwin.document).html(Q(data.title)); $('#notebody', printwin.document).html(data.description);