Author: jonesde
Date: Fri Sep 29 01:39:14 2006
New Revision: 451166
URL:
http://svn.apache.org/viewvc?view=rev&rev=451166Log:
These js files were written to support certain things in ofbiz and while one was adapted from an example found elsewhere, as was mentioned in it, it (combobox) does not appear to be a copy of it, just based on the ideas; so, added AL2 headers to these 2 js files
Modified:
incubator/ofbiz/trunk/framework/images/webapp/images/combobox.js
incubator/ofbiz/trunk/framework/images/webapp/images/fieldlookup.js
Modified: incubator/ofbiz/trunk/framework/images/webapp/images/combobox.js
URL:
http://svn.apache.org/viewvc/incubator/ofbiz/trunk/framework/images/webapp/images/combobox.js?view=diff&rev=451166&r1=451165&r2=451166==============================================================================
--- incubator/ofbiz/trunk/framework/images/webapp/images/combobox.js (original)
+++ incubator/ofbiz/trunk/framework/images/webapp/images/combobox.js Fri Sep 29 01:39:14 2006
@@ -1,5 +1,18 @@
- // Adapted from work by Yucca Korpela
- //
http://www.cs.tut.fi/~jkorpela/forms/combo.html+/*
+ * Copyright 2001-2006 The Apache Software Foundation
+ *
+ * Licensed 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.
+ */
function other_choice(dropDown) {
opt = dropDown.options[dropDown.selectedIndex];
@@ -32,5 +45,3 @@
dropDown.focus();
}
}
-
-
Modified: incubator/ofbiz/trunk/framework/images/webapp/images/fieldlookup.js
URL:
http://svn.apache.org/viewvc/incubator/ofbiz/trunk/framework/images/webapp/images/fieldlookup.js?view=diff&rev=451166&r1=451165&r2=451166==============================================================================
--- incubator/ofbiz/trunk/framework/images/webapp/images/fieldlookup.js (original)
+++ incubator/ofbiz/trunk/framework/images/webapp/images/fieldlookup.js Fri Sep 29 01:39:14 2006
@@ -1,3 +1,18 @@
+/*
+ * Copyright 2001-2006 The Apache Software Foundation
+ *
+ * Licensed 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.
+ */
// ================= FIELD LOOKUP METHODS ============================