LemonStand Forum: backend.js - LemonStand Forum

Jump to content

Severity 0 - None Assigned Status Resolved
Version - Fixed in -

Page 1 of 1
  • Cannot start a new Issue
  • Closed Issue This issue is locked

Report ID #173: backend.js

#1 User is offline  
robertbanh 

  • LemonFan
  • PipPipPipPipPip
  • Group: Members
  • Posts: 61
  • Joined: 13-July 11

Posted 21 March 2012 - 01:09 PM

I just updated my lemonstand app to the latest today and notice that when I view my products, the tabs 'meta', 'grouped', 'options', etc all don't work.

Firebug is reporting this:
this.pages[tabIndex] is undefined

--> this.pages[tabIndex].show();


I then view the source code and notice this line:
<script type="text/javascript" src="modules/backend/resources/javascript/backend.js?1.8.3"></script>


Should there be a beginning slash instead? Like this:
<script type="text/javascript" src="/modules/backend/resources/javascript/backend.js?1.8.3"></script>



Page 1 of 1  
  • Cannot start a new Issue
  • Closed Issue This issue is locked

Replies (1 - 4)

#2 User is offline  
Manca 

  • Developer
  • Group: +Administrators
  • Posts: 252
  • Joined: 02-September 11

Posted 21 March 2012 - 03:17 PM

Updating status to: Unconfirmed

Hi,

The slash shouldn't be the issue. The line this.pages[tabIndex].show(); is from backend.js, so it's obviously being included. And nothing about it has been changed recently, the slash was always not there.

Try clearing your browser cache, just in case something hasn't been updated. If you're still experiencing issues, please submit a technical support ticket with temporary backend access, we'll have a look at what the issue might be.

Thank you

#3 User is offline  
Eric Muyser 

  • Web Developer
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,317
  • Joined: 04-August 10
  • LocationVancouver, Canada

Posted 22 March 2012 - 09:03 AM

The reason no slash is needed is because LS sets the base href, so that all requests are relative to that URL. <base href="http://yoursite.com/" />

#4 User is offline  
robertbanh 

  • LemonFan
  • PipPipPipPipPip
  • Group: Members
  • Posts: 61
  • Joined: 13-July 11

Posted 11 April 2012 - 04:59 AM

Crapo... it turns out my client put a FONT tag in the category:
<font color=red>Sale</font>... and this was what broke the Tabs in the backend from refreshing.

Thanks everyone. Please close this bug.

#5 User is offline  
Manca 

  • Developer
  • Group: +Administrators
  • Posts: 252
  • Joined: 02-September 11

Posted 11 April 2012 - 11:23 AM

Updating status to: Resolved

Glad to hear you managed to solve the issue.


Page 1 of 1
  • Cannot start a new Issue
  • Closed Issue This issue is locked

0 User(s) are reading this issue
0 Guests and 0 Anonymous Users