?
avatar Webdongle
Webdongle
28 Oct 2016

Steps to reproduce the issue

Set the admin Template to Hathor
Create a new module (or edit an existing one)

Expected result

All fields and dropdown boxes should be usable

Actual result

The dropdown to select the Position does not work

System information (as much as possible)

Additional comments

avatar Webdongle Webdongle - open - 28 Oct 2016
avatar Webdongle
Webdongle - comment - 28 Oct 2016
avatar brianteeman brianteeman - change - 28 Oct 2016
Status New Closed
Closed_Date 0000-00-00 00:00:00 2016-10-28 15:29:26
Closed_By brianteeman
avatar brianteeman brianteeman - close - 28 Oct 2016
avatar brianteeman
brianteeman - comment - 28 Oct 2016

Closed as a duplicate report if something we already have a pull request for #12412

avatar brianteeman brianteeman - close - 28 Oct 2016
avatar brianteeman
brianteeman - comment - 28 Oct 2016

Please test that PR

avatar Webdongle
Webdongle - comment - 28 Oct 2016

Tested it and just about to report results

avatar brianteeman brianteeman - change - 28 Oct 2016
Status Closed New
Closed_Date 2016-10-28 15:29:24
Closed_By brianteeman
avatar brianteeman
brianteeman - comment - 28 Oct 2016

Re-opened as not related to the referenced issue


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

avatar brianteeman brianteeman - reopen - 28 Oct 2016
avatar brianteeman brianteeman - reopen - 28 Oct 2016
avatar brianteeman
brianteeman - comment - 28 Oct 2016

I do think it is related to the other issue even if it is not solved by it


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

avatar infograf768
infograf768 - comment - 29 Oct 2016

I confirm the positions issue (access to the manager solved by #12412)

@dgt41
@Fedik
Can you look at this please?

avatar dgt41
dgt41 - comment - 29 Oct 2016

The dropdown to select the Position does not work

There was never a dropdown in Hathor, a modal was there, so probably the scripts are not loaded?

@infograf768 https://github.com/joomla/joomla-cms/blob/staging/libraries/cms/form/field/moduleposition.php
this is the file that renders the modal

avatar brianteeman
brianteeman - comment - 29 Oct 2016

and thats why i think its related to the other issue i referenced

On 29 October 2016 at 16:49, Dimitri Grammatikogianni <
notifications@github.com> wrote:

The dropdown to select the Position does not work

There was never a dropdown in Hathor, a modal was there, so probably the
scripts are not loaded?


You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
#12607 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABPH8cspVurKblCcFkzCp_Je6UNRRHp6ks5q42r8gaJpZM4Kjdv6
.

Brian Teeman
Co-founder Joomla! and OpenSourceMatters Inc.
https://brian.teeman.net/ http://brian.teeman.net/

avatar infograf768
infograf768 - comment - 29 Oct 2016

@dgt41
Yes, I know it is that file that renders the modal.
The issue is that we do not get a modal, but a new page and clicking on one position does not enter it in the field while closing that window.

We get a js error when clicking:
TypeError: window.parent.jSelectPosition_jform_position is not a function

avatar Fedik
Fedik - comment - 29 Oct 2016

hm, currently I cannot open module editing at all, got error
Fatal error: Access level to ModulesViewModule::$form must be public (as in class JViewLegacy) in <root>/administrator/components/com_modules/views/module/view.html.php on line 17

only me?

avatar brianteeman
brianteeman - comment - 29 Oct 2016

@Fedik that part is solved by #12412

avatar dgt41
dgt41 - comment - 29 Oct 2016

@Fedik change private $form; to public

This page is full of notices!

Also line 52:
<?php echo $this->form->getInput('position'); ?></li> to <div style="display:none;"><?php echo $this->loadTemplate('positions'); ?></div><?php echo $this->form->getInput('position'); ?></li> solves the modal think, but the input is not changed by the script

avatar Fedik
Fedik - comment - 29 Oct 2016

The problem in media/system/js/moduleorder.js wich force Chosen script to the text field for Position (that is wrong).
Comes from #11992 or #11040

avatar Fedik
Fedik - comment - 29 Oct 2016

@dgt41 never use $linkedFieldEl.chosen().val() use just $linkedFieldEl.val() :neckbeard:

avatar Fedik
Fedik - comment - 29 Oct 2016

fix there #12621

avatar Fedik
Fedik - comment - 29 Oct 2016

but, there another issue with Hathor, these "flying" ugly things 😄 :
screen 2016-10-29 20 36 51 727x214

avatar dgt41
dgt41 - comment - 29 Oct 2016

@Fedik thanks for the fix! 👍

avatar zero-24 zero-24 - change - 29 Oct 2016
Status New Closed
Closed_Date 0000-00-00 00:00:00 2016-10-29 17:45:03
Closed_By zero-24
avatar zero-24 zero-24 - close - 29 Oct 2016
avatar zero-24 zero-24 - close - 29 Oct 2016

Add a Comment

Login with GitHub to post a comment