pandora.js loads Ox.js without version string #1556

Closed
opened 2013-05-31 20:56:31 +00:00 by j · 1 comment
Owner

pandora.js loads Ox.js without version:

script.src = '/static/oxjs/' + (enableDebugMode ? 'dev' : 'build') + '/Ox.js';

it should get the version string from the pandora.js script tag, something like this:

head.getElementsByTagName('script')[1].src.replace(/.*?/, '')

pandora.js loads Ox.js without version: script.src = '/static/oxjs/' + (enableDebugMode ? 'dev' : 'build') + '/Ox.js'; it should get the version string from the pandora.js script tag, something like this: head.getElementsByTagName('script')[1].src.replace(/.*\?/, '')
j added the
frontend
label 2013-05-31 20:56:31 +00:00
j added this to the 13.02 milestone 2013-05-31 20:56:31 +00:00
rlx was assigned by j 2013-05-31 20:56:31 +00:00
j added the
normal
defect
labels 2013-05-31 20:56:31 +00:00
Author
Owner

In []changeset:pandora,3127:

#!CommitTicketReference repository="" revision="pandora,3127"
load Ox.js with pandora version to avoid loading outdated version without clearing cache, fixes #1556
In []changeset:pandora,3127: ``` #!CommitTicketReference repository="" revision="pandora,3127" load Ox.js with pandora version to avoid loading outdated version without clearing cache, fixes #1556 ```
j added the
fixed
label 2013-05-31 21:18:05 +00:00
j closed this issue 2013-05-31 21:18:05 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: 0x2620/pandora#1556
No description provided.