rt 4.2.16
[freeside.git] / rt / lib / RT / Interface / Web.pm
index af41e5b..3c77301 100644 (file)
@@ -2,7 +2,7 @@
 #
 # COPYRIGHT:
 #
-# This software is Copyright (c) 1996-2017 Best Practical Solutions, LLC
+# This software is Copyright (c) 1996-2019 Best Practical Solutions, LLC
 #                                          <sales@bestpractical.com>
 #
 # (Except where explicitly superseded by other copyright notices)
@@ -106,7 +106,7 @@ sub SquishedJS {
 
 sub JSFiles {
     return qw{
-      jquery-1.9.1.min.js
+      jquery-1.12.4p1.min.js
       jquery_noconflict.js
       jquery-ui-1.10.0.custom.min.js
       jquery-ui-timepicker-addon.js
@@ -194,7 +194,7 @@ SCALAR may be a simple value or a reference.
 =cut
 
 sub EncodeJSON {
-    my $s = JSON::to_json(shift, { allow_nonref => 1 });
+    my $s = JSON::to_json(shift, { allow_blessed => 1, allow_nonref => 1 });
     $s =~ s{/}{\\/}g;
     return $s;
 }