? Success

User tests: Successful: Unsuccessful:

avatar dgt41
dgt41
11 Jun 2016

Use the same pattern for all XTD buttons javascript

Two reasons to have the script in the callable iframe:

  • can be overridden easily, with an html override
  • no call to parent.window.Function()
  • consistency

Summary of Changes

Move code around

Testing Instructions

Create a new article
use the XTD buttons Article and Pagebreak and confirm that everything works as expected
Redo the same with Hathor as your template

Also try to create a menu for a single article, everything should work as usual
Easy testing

avatar dgt41 dgt41 - open - 11 Jun 2016
avatar dgt41 dgt41 - change - 11 Jun 2016
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 11 Jun 2016
Labels Added: ?
avatar dgt41 dgt41 - change - 11 Jun 2016
The description was changed
avatar brianteeman brianteeman - change - 13 Jun 2016
Category JavaScript Plugins
avatar Ruchiranga Ruchiranga - test_item - 19 Jun 2016 - Tested unsuccessfully
avatar Ruchiranga
Ruchiranga - comment - 19 Jun 2016

I have tested this item ? unsuccessfully on 2d04395

Works fine on Isis template.

When using Hathor template,
Page break works fine.
Gives error "Uncaught SyntaxError: Invalid or unexpected token" on clicking an article from the list of articles.

Screenshot


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/10794.

75c962d 19 Jun 2016 avatar dgt41 CS
avatar joomla-cms-bot
joomla-cms-bot - comment - 19 Jun 2016

This PR has received new commits.

CC: @Ruchiranga


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/10794.

avatar joomla-cms-bot
joomla-cms-bot - comment - 19 Jun 2016

This PR has received new commits.

CC: @Ruchiranga


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/10794.

avatar dgt41
dgt41 - comment - 19 Jun 2016

@Ruchiranga It seems that there was some changes in language column that was never transferred to hathor (?). Fixed now, thanks for finding this!

avatar brianteeman brianteeman - test_item - 19 Jun 2016 - Tested unsuccessfully
avatar brianteeman
brianteeman - comment - 19 Jun 2016

I have tested this item ? unsuccessfully on 89ddcf9

When testing on the front end with the Article button
Before patch the arrow becomes a hand when hovering over an article in the list
After the patch the arrow becomes an ibeam when hovering over an article in the list


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/10794.

avatar joomla-cms-bot
joomla-cms-bot - comment - 19 Jun 2016

This PR has received new commits.

CC: @brianteeman, @Ruchiranga


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/10794.

avatar joomla-cms-bot
joomla-cms-bot - comment - 19 Jun 2016

This PR has received new commits.

CC: @brianteeman, @Ruchiranga


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/10794.

avatar dgt41 dgt41 - change - 19 Jun 2016
The description was changed
avatar dgt41
dgt41 - comment - 19 Jun 2016

This is against DRY. I will come up with something more elegant for this case, sorry for waisting your time here

avatar dgt41 dgt41 - change - 19 Jun 2016
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2016-06-19 13:30:18
Closed_By dgt41
avatar dgt41 dgt41 - close - 19 Jun 2016

Add a Comment

Login with GitHub to post a comment