? Pending

User tests: Successful: Unsuccessful:

avatar dgt41
dgt41
19 Jan 2018

Pull Request for Issue #19403 .

Summary of Changes

  • use the proper polyfills
  • move the switcher to the proper folder

Testing Instructions

Apply and check the backend if alerts and switches are rendering ok

Expected result

Actual result

Documentation Changes Required

No

avatar dgt41 dgt41 - open - 19 Jan 2018
avatar dgt41 dgt41 - change - 19 Jan 2018
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 19 Jan 2018
Category JavaScript Repository Layout
avatar dgt41
dgt41 - comment - 19 Jan 2018

@infograf768 here you go

avatar C-Lodder
C-Lodder - comment - 19 Jan 2018

Please could you also replace

// Various variables
const rootPath = __dirname.replace('/build/build-modules-js', '');

with

// Various variables
const isWin = /^win/.test(process.platform);
const rootPath = isWin ? _dirname.replace('\\build\\build-modules-js', '') : _dirname.replace('/build/build-modules-js', '');

in all build/build-module-js/*.js files

Either that or I can do it with my PR later on tonight or tomorrow

avatar infograf768
infograf768 - comment - 19 Jan 2018

Much better. Could not apply all changes with eclipse, but I do get the switcher class OK.
The 3 files concerned are:
screen shot 2018-01-19 at 18 05 12

avatar dgt41
dgt41 - comment - 19 Jan 2018

@C-Lodder now that I see that code I’m thinking that was way to fast patch so let’s do it in one line. Once you have your pr I’ll post the code there, let’s get this merged as it’s kinda urgent

avatar C-Lodder
C-Lodder - comment - 19 Jan 2018

@dgt41 sure no worries. @wilsonge please merge

avatar wilsonge wilsonge - change - 20 Jan 2018
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2018-01-20 01:35:57
Closed_By wilsonge
Labels Added: ?
avatar wilsonge wilsonge - close - 20 Jan 2018
avatar wilsonge wilsonge - merge - 20 Jan 2018

Add a Comment

Login with GitHub to post a comment