James Yong
162506d372
Fixed: Display last-visited-time popup after login (OFBIZ-12148)
...
Empty popup occurs when showjGrowl is run later than the javascript from unsafe message. Delay running of showjGrowl function from 10 to 100 milliseconds.
Thanks Jacques for reporting.
2021-02-24 16:54:39 +07:00
Benjamin Jugl
7bca526c10
Fixed: StringOutOfBounds Exception while checking available Languages
...
(OFBIZ-10707)
2021-02-03 11:24:10 +01:00
James Yong
6a08920606
Improved: Allow Unsafe Event Message (OFBIZ-12147)
...
Only delay jgrowl message when there is _UNSAFE_EVENT_MESSAGE_
Thanks Michael for feedback.
2021-01-21 22:53:57 +08:00
James Yong
1bfd3c5fb0
Improved: Allow Unsafe Event Message (OFBIZ-12147)
...
Allow application to define event messages that contain javascripts, via request attribute "_UNSAFE_EVENT_MESSAGE_"
Thanks Jacques for review
2021-01-21 20:46:06 +08:00
James Yong
a66f0a9be8
Improved: Change inline style to js for multiple select field (OFBIZ-12115)
...
Test pages at /ordermgr/control/FindRequest and /ordermgr/control/findorders
2021-01-01 13:13:46 +08:00
James Yong
451f42a21c
Improved: Do not limit form width if asm_formSize is not defined (OFBIZ-12102)
...
Extend the same behavior to SetMultipleSelectJs.ftl.
2020-12-26 17:08:22 +08:00
James Yong
f561c41ea0
Improved: Do not limit form width if asm_formSize is not defined (OFBIZ-12102)
...
Changed at SetMultipleSelectJsList.ftl.
Tested page at /ordermgr/control/FindRequest
2020-12-26 13:14:07 +08:00
James Yong
0987c11ca7
Improved: Remove date.format-1.2.3-min.js (OFBIZ-12040)
...
This Javascript library is not use in the project.
2020-10-10 19:36:24 +08:00
James Yong
c3c41b28b4
Improved: multi-block attribute for html-template tag (OFBIZ-11686)
...
Moved <@scriptTagsFooter/> within the body tag.
2020-08-21 17:59:00 +08:00
James Yong
ede5aa1550
Improved: Move page-specific script links to html template (OFBIZ-11799)
...
ensure select2 lang js is loaded after the main js.
2020-08-17 21:52:19 +08:00
James Yong
7322abbcbe
Improved: Move page-specific script links to html template (OFBIZ-11799)
...
refactoring
2020-08-17 20:45:47 +08:00
James Yong
39c1e280f9
Improved: Move page-specific script links to html template (OFBIZ-11799)
...
refactoring +
importLibrary function to use crossDomain = true to allow js file to be shown under browser's sources folder
2020-08-16 18:05:32 +08:00
James Yong
dd5c7b715a
Improved: Move page-specific script links to html template (OFBIZ-11799)
...
Use importLibrary js function to load select2 js and css
Tested on
https://localhost:8443/example/control/FormWidgetExamples
https://localhost:8443/ordermgr/control/FindRequest
2020-08-15 20:25:34 +08:00
James Yong
c4b5407eb2
Improved: Move page-specific script links to html template (OFBIZ-11799)
...
Created new importLibrary js function to load OpenLayer js and css
Tested on
https://localhost:8443/example/control/ExampleGeoLocationPointSet4
https://localhost:8443/example/control/ExampleOsmGeoLocationPointSet4
2020-08-15 11:57:58 +08:00
James Yong
aaa5d9e9a5
Improved: Move page-specific script links to html template (OFBIZ-11799)
...
Moved OpenLayer js and css to html template
Tested on https://localhost:8443/partymgr/control/PartyGeoLocation?partyId=DemoCustomer
2020-08-13 22:16:33 +08:00
James Yong
d5140ca65d
Improved: Move page-specific script links to html template (OFBIZ-11799)
...
Moved select2 script and link tags to html template when multi-block=true.
select2 language js will be auto added by MultiBlockHtmlTemplateUtil#addLinksToLayoutSettings
Tested on
https://localhost:8443/example/control/FormWidgetExamples
https://localhost:8443/ordermgr/control/FindRequest
2020-08-06 22:39:59 +08:00
James Yong
c0e527efb2
Improved: Headerize external script in multi-block html template (OFBIZ-11741)
...
Allow external scripts within the multi-block html template, to be rendered
within the html head tag, when a new attribute data-import is set to “head”
Thanks: Jacques for review
2020-05-30 12:00:21 +08:00
James Yong
e46c7b9724
Fixed: showjGrowl called twice (OFBIZ-11720)
...
showjGrowl function is called twice,
even when there is no message to show.
2020-05-21 21:38:08 +08:00
James Yong
ac541342ae
Improved: Apply multi-block attr to each application (OFBIZ-11706)
...
Revert regression for showHelp.
2020-05-21 00:07:36 +08:00
James Yong
b5729d77fb
Improved: Apply multi-block attr to each application (OFBIZ-11706)
...
Fix regression
2020-05-16 19:38:01 +08:00
Jacques Le Roux
645d419574
Merge branch 'trunk' into POC-for-CSRF-Token-OFBIZ-11306
2020-04-04 17:52:06 +02:00
Ulrich Heidfeld
8ee522e42e
Improved: Decodes AjaxAutocompleteOptions return value
...
(OFBIZ-11475)
2020-04-02 09:15:45 +02:00
Dennis Balkir
54a429e8cc
Implemented: _WARNING_MESSAGE_
...
(OFBIZ-10587)
Added warning message as a message type, by adding it in the
messages.ftl and the request-handler
Thanks to Niklas Fallik for reporting
2020-03-21 11:31:54 +01:00
Dennis Balkir
2895da2220
Implemented: _WARNING_MESSAGE_
...
(OFBIZ-10587)
Added warning message as a message type, by adding it in the
messages.ftl and the request-handler
Thanks to Niklas Fallik for reporting
2020-03-15 11:23:33 +01:00
Jacques Le Roux
c34491892a
Improved:
...
Implemented:
Documented:
Completed:
Reverted:
Fixed:
Improved: no functional change
(OFBIZ-)
Explanation
Thanks:
2020-02-27 14:36:26 +01:00
Nicolas Malin
cbc0a76517
Improved: Find order screen can't make a search without ship to country
...
(OFBIZ-11176)
When you search orders on the standard screen [1] you can't unselect a country.
The problem come from the populate country list by countries.ftl who select by default a country without possibility to escape it.
We added a possibility to escape it through variable doNotPreselectDefaultCountryGeoId
[1] https://localhost:8443/ordermgr/control/findorders
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1866012 13f79535-47bb-0310-9956-ffa450edef68
2019-08-27 21:30:58 +00:00
Aditya Sharma
34311f84a0
Fixed: favicon.ico missing for LookupDecorator
...
(OFBIZ-11146)
The ListVisualTheme page uses LookupDecorator and in the absence of any shortcut icon the browser hits favicon.ico file by default.
Additional change: Fixed path for title.gif specific to Flatgrey theme
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1864216 13f79535-47bb-0310-9956-ffa450edef68
2019-08-02 11:13:43 +00:00
Aditya Sharma
efc1ae1303
Fixed: Check embedded Javascript libs vulnerabilities using retire.js
...
(OFBIZ-10678)
1. For solving CVE-2019-11358, upgraded jQuery to 3.4.1
2. Replaced library Fancybox with Featherlight. Added custom css so that cursor for links becomes pointer
Thanks Jacques Le Roux for the reviews
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1863838 13f79535-47bb-0310-9956-ffa450edef68
2019-07-27 06:43:12 +00:00
Aditya Sharma
13fdebf7db
Improved: Replace document.write() occurrences with some legitimate code
...
(OFBIZ-10759)
Removed js code and added Js files in LookupDecorator.
Added Js library files as there were some errors in console logs
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1855083 13f79535-47bb-0310-9956-ffa450edef68
2019-03-09 06:27:29 +00:00
Aditya Sharma
becdc699ca
Improved: When using Select2 for multiple selects the field is too narrow in 'no results' case
...
(OFBIZ-10682)
Set width to 50% so that it shows input box of size that accomodates 'No Results' message.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1850148 13f79535-47bb-0310-9956-ffa450edef68
2019-01-02 04:56:49 +00:00
Michael Brohl
0757453d77
Fixed: Update and fix openstreetmap.org integration.
...
(OFBIZ-10553)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1847710 13f79535-47bb-0310-9956-ffa450edef68
2018-11-29 10:43:47 +00:00
Julien Nicolas
9a4bda3f27
Improve: Change the uggly favicon with the new one ! | Using new OFBiz logo
...
(OFBIZ-10522)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1838074 13f79535-47bb-0310-9956-ffa450edef68
2018-08-15 09:15:13 +00:00
Deepak Dixit
5f8f3bfa65
Improved: Replace #assign with #local in all the themes ftl macros
...
(OFBIZ-10516)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1837829 13f79535-47bb-0310-9956-ffa450edef68
2018-08-10 18:47:58 +00:00
Deepak Dixit
252828d8b0
Improved: Improved: Use application/javascript instead of text/javascript
...
(OFBIZ-10492)
Added missing file in last commit
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1836893 13f79535-47bb-0310-9956-ffa450edef68
2018-07-28 12:21:52 +00:00
Deepak Dixit
ef0c694a46
Improved: Use application/javascript instead of text/javascript
...
(OFBIZ-10492)
Replace text/javascript with application/javascript in all the script tag
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1836886 13f79535-47bb-0310-9956-ffa450edef68
2018-07-28 10:51:52 +00:00
Deepak Dixit
397628ba7d
Improved: Remove use of deprecated language attribute from script tag
...
(OFBIZ-10491)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1836545 13f79535-47bb-0310-9956-ffa450edef68
2018-07-24 11:26:23 +00:00
Deepak Dixit
66b783ca75
Improved: Improve Order layout.
...
(OFBIZ-10331)
Applied slightly modified patch from jira ticket, Thanks Dennis Balkir for your contribution
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1835889 13f79535-47bb-0310-9956-ffa450edef68
2018-07-14 09:28:04 +00:00
Jacques Le Roux
7b60eaa2f4
Fixed: The server hour normally shown in the jobs list is no longer showing
...
(OFBIZ-10278)
With FTL formatting in OFBIZ-7636, the commented single line got broken into 3
lines making it an invalid js code.
Thanks: Aditya
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1826997 13f79535-47bb-0310-9956-ffa450edef68
2018-03-16 15:39:18 +00:00
Deepak Dixit
40f25899a1
Fixed: Lookup rendering broken due changes done at r#1825350, conditionGroup is optional paramerter for lookup or related macros, so set empty default parameter value for conditionGroup parameter
...
(OFBIZ-10195)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1825430 13f79535-47bb-0310-9956-ffa450edef68
2018-02-27 08:23:43 +00:00
Deepak Dixit
23e4b72f17
Fixed: Alert message : Developer: for lookups to work you must provide a form name! appears when try to select contentId from Lookup.
...
(OFBIZ-10012)
Applied slightly modified patch
Thanks Sonal for reporting and Aditya Sharma for providing patch for the issue
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1825205 13f79535-47bb-0310-9956-ffa450edef68
2018-02-24 10:22:18 +00:00
Taher A. Alkhateeb
bf25f54b0f
Implemented: renamed the common theme directory from "common" to "common-theme"
...
(OFBIZ-10175)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1821789 13f79535-47bb-0310-9956-ffa450edef68
2018-01-21 12:40:46 +00:00