diff --git a/package.json b/package.json index e4bb7adaba0..9dbff96c2b8 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "zone.js": "^0.6.6", "autoprefixer": "^6.3.3", "es6-promise": "^3.0.2", - "es6-shim": "^0.35.0", + "es6-shim": "^0.35.1", "expect.js": "~0.2.0", "glob": "~3.2.7", "grunt": "~0.4.0", diff --git a/public/app/features/dashboard/dashboardSrv.js b/public/app/features/dashboard/dashboardSrv.js index 2e1cd1acbf0..a4ae7b31468 100644 --- a/public/app/features/dashboard/dashboardSrv.js +++ b/public/app/features/dashboard/dashboardSrv.js @@ -65,7 +65,7 @@ function (angular, $, _, moment) { // cleans meta data and other non peristent state p.getSaveModelClone = function() { - var copy = angular.copy(this); + var copy = $.extend(true, {}, this); delete copy.meta; return copy; };