Javascript error in Catalog Manager: Edit Product

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

Javascript error in Catalog Manager: Edit Product

Koon Sang
In Catalog Manager: Edit Product, when clicking on the "Expand All" button, got the following javascript error:

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; Tablet PC 2.0)
Timestamp: Sat, 20 Feb 2010 12:01:41 UTC


Message: Object doesn't support this property or method
Line: 475
Char: 9
Code: 0
URI: https://localhost:8443/images/selectall.js


Ofbiz version: 9.04 (2010-02-17)
Reply | Threaded
Open this post in threaded view
|

Re: Javascript error in Catalog Manager: Edit Product

brajeshpatel
Hi Koon Sang,
I have follow step that given at
https://ofbiz-vm.apache.org/catalog/control/EditProduct but not getting any
error.


On Mon, Feb 22, 2010 at 6:52 AM, Koon Sang <[hidden email]>wrote:

>
> In Catalog Manager: Edit Product, when clicking on the "Expand All" button,
> got the following javascript error:
>
> Webpage error details
>
> User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0;
> SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media
> Center PC 6.0; Tablet PC 2.0)
> Timestamp: Sat, 20 Feb 2010 12:01:41 UTC
>
>
> Message: Object doesn't support this property or method
> Line: 475
> Char: 9
> Code: 0
> URI: https://localhost:8443/images/selectall.js
> --
> View this message in context:
> http://n4.nabble.com/Javascript-error-in-Catalog-Manager-Edit-Product-tp1563961p1563961.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>



--
Thanks
Brajesh Patel

HotWax Media
http://www.hotwaxmedia.com
Reply | Threaded
Open this post in threaded view
|

Re: Javascript error in Catalog Manager: Edit Product

Koon Sang
Hi Brajesh,

The error occurs in IE 8 but not in Opera 10.10.

Thanks!
Reply | Threaded
Open this post in threaded view
|

Re: Javascript error in Catalog Manager: Edit Product

james_sg
Hi Koon Sang,

In selectAll.js, you can change line 475, from

if(groupbody.visible() != expanded) {
to
 
if(groupbody.style.visible != expanded) {
Works for IE8 and Firefox.

Regards,
James
Reply | Threaded
Open this post in threaded view
|

Re: Javascript error in Catalog Manager: Edit Product

Koon Sang
Thanks! It works now, with Opera 10.10 too.  Will anyone update the release?
Reply | Threaded
Open this post in threaded view
|

Re: Javascript error in Catalog Manager: Edit Product

Jacques Le Roux
Administrator
Thanks to both,

Fixed at r912587 in trunk, r912601 in R9.04

Jacques

From: "Koon Sang" <[hidden email]>
> Thanks! It works now, with Opera 10.10 too.  Will anyone update the release?
> --
> View this message in context: http://n4.nabble.com/Javascript-error-in-Catalog-Manager-Edit-Product-tp1563961p1564089.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>

Reply | Threaded
Open this post in threaded view
|

Re: Javascript error in Catalog Manager: Edit Product

Jacques Le Roux
Administrator
Oops, I made a typo, fixed at at r915332 in trunk, r915335 in R9.04.
I don't know you but when I come back from vacation I should not work the 1st day, mmm... But when to begin then :o)

Jacques

From: "Jacques Le Roux" <[hidden email]>

> Thanks to both,
>
> Fixed at r912587 in trunk, r912601 in R9.04
>
> Jacques
>
> From: "Koon Sang" <[hidden email]>
>> Thanks! It works now, with Opera 10.10 too.  Will anyone update the release?
>> --
>> View this message in context: http://n4.nabble.com/Javascript-error-in-Catalog-Manager-Edit-Product-tp1563961p1564089.html
>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>
>