Don't use .load() - it's deprecated now and removed in jQuery 3.x

This commit is contained in:
Aleksander Machniak 2016-08-15 15:14:05 -04:00
parent 4db65663e2
commit 96cdf7c93e

View file

@ -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);