From d4818dfd6643f6d60f366afe63e0ef3d76bb1d15 Mon Sep 17 00:00:00 2001 From: Jacques Le Roux Date: Mon, 18 May 2015 10:58:10 +0000 Subject: [PATCH] A patch from Pierre Smits "util.js is missing licence header" https://issues.apache.org/jira/browse/OFBIZ-6384 jleroux: This is related to OFBIZ-5409. I noted then "The util.js script is introduced for that, though normally should not be needed... " git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1679982 13f79535-47bb-0310-9956-ffa450edef68 --- framework/images/webapp/images/util.js | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/framework/images/webapp/images/util.js b/framework/images/webapp/images/util.js index 6492a24421..1c0989c7f4 100644 --- a/framework/images/webapp/images/util.js +++ b/framework/images/webapp/images/util.js @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + jQuery.ajaxSetup({ dataFilter: function(data, type) { var prefixes = ['//', 'while(true);', 'for(;;);'],