Re: svn commit: r1840446 - /ofbiz/ofbiz-plugins/trunk/webpos/webapp/webpos/WEB-INF/controller.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: svn commit: r1840446 - /ofbiz/ofbiz-plugins/trunk/webpos/webapp/webpos/WEB-INF/controller.xml

taher
I am confused, this is not a rename, but rather changing the service
being invoked. Also this has nothing to do with the javascript files
mentioned but rather controller entries?
On Mon, Sep 10, 2018 at 12:52 PM <[hidden email]> wrote:

>
> Author: jleroux
> Date: Mon Sep 10 09:52:43 2018
> New Revision: 1840446
>
> URL: http://svn.apache.org/viewvc?rev=1840446&view=rev
> Log:
> Improved: Rename the misnamed setUserLocale.js to setUserTimeZone.js
> (OFBIZ-10472)
>
> At the same time renames setLocaleFromBrowser to SetTimeZoneFromBrowser
> everywhere it's needed. FORGOT IT in WEBPOS!
>
> Modified:
>     ofbiz/ofbiz-plugins/trunk/webpos/webapp/webpos/WEB-INF/controller.xml
>
> Modified: ofbiz/ofbiz-plugins/trunk/webpos/webapp/webpos/WEB-INF/controller.xml
> URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/webpos/webapp/webpos/WEB-INF/controller.xml?rev=1840446&r1=1840445&r2=1840446&view=diff
> ==============================================================================
> --- ofbiz/ofbiz-plugins/trunk/webpos/webapp/webpos/WEB-INF/controller.xml (original)
> +++ ofbiz/ofbiz-plugins/trunk/webpos/webapp/webpos/WEB-INF/controller.xml Mon Sep 10 09:52:43 2018
> @@ -473,9 +473,9 @@
>      <!-- end of Ajax requests -->
>
>      <!-- Set local from user's browser -->
> -    <request-map uri="setLocaleFromBrowser">
> +    <request-map uri="SetTimeZoneFromBrowser">
>          <security https="false" auth="false"/>
> -        <event type="service" invoke="setLocaleFromBrowser"/>
> +        <event type="service" invoke="SetTimeZoneFromBrowser"/>
>          <response name="success" type="request" value="json"/>
>          <response name="error" type="request" value="json"/>
>      </request-map>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: svn commit: r1840446 - /ofbiz/ofbiz-plugins/trunk/webpos/webapp/webpos/WEB-INF/controller.xml

Jacques Le Roux
Administrator
Yes, I simply C/P the previous commit comment from r1835628 in trunk

I updated this commit comment to make things clearer at 1st glance

Jacques


Le 12/09/2018 à 12:30, Taher Alkhateeb a écrit :

> I am confused, this is not a rename, but rather changing the service
> being invoked. Also this has nothing to do with the javascript files
> mentioned but rather controller entries?
> On Mon, Sep 10, 2018 at 12:52 PM <[hidden email]> wrote:
>> Author: jleroux
>> Date: Mon Sep 10 09:52:43 2018
>> New Revision: 1840446
>>
>> URL: http://svn.apache.org/viewvc?rev=1840446&view=rev
>> Log:
>> Improved: Rename the misnamed setUserLocale.js to setUserTimeZone.js
>> (OFBIZ-10472)
>>
>> At the same time renames setLocaleFromBrowser to SetTimeZoneFromBrowser
>> everywhere it's needed. FORGOT IT in WEBPOS!
>>
>> Modified:
>>      ofbiz/ofbiz-plugins/trunk/webpos/webapp/webpos/WEB-INF/controller.xml
>>
>> Modified: ofbiz/ofbiz-plugins/trunk/webpos/webapp/webpos/WEB-INF/controller.xml
>> URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/webpos/webapp/webpos/WEB-INF/controller.xml?rev=1840446&r1=1840445&r2=1840446&view=diff
>> ==============================================================================
>> --- ofbiz/ofbiz-plugins/trunk/webpos/webapp/webpos/WEB-INF/controller.xml (original)
>> +++ ofbiz/ofbiz-plugins/trunk/webpos/webapp/webpos/WEB-INF/controller.xml Mon Sep 10 09:52:43 2018
>> @@ -473,9 +473,9 @@
>>       <!-- end of Ajax requests -->
>>
>>       <!-- Set local from user's browser -->
>> -    <request-map uri="setLocaleFromBrowser">
>> +    <request-map uri="SetTimeZoneFromBrowser">
>>           <security https="false" auth="false"/>
>> -        <event type="service" invoke="setLocaleFromBrowser"/>
>> +        <event type="service" invoke="SetTimeZoneFromBrowser"/>
>>           <response name="success" type="request" value="json"/>
>>           <response name="error" type="request" value="json"/>
>>       </request-map>
>>
>>