Keyword

K2 frontend editor 2.8.0 - close button closes browser tab

  • roland
  • roland's Avatar Topic Author
  • Offline
  • New Member
More
7 years 1 month ago #164443 by roland
Hi all,
The Close button in the Front editor is not working well after upgrading my Joomla 3.6.5 / K2 2.7.1 to Joomla 3.8 / K2 2.8. I use PHP 7.

I've updated the itemform.php file.
Looking at the forum I've also installed the pluggin JQuery Easy. Behaviour has improved but with IE browser the browser Tab closes when the Close button is pressed.

So, on my xampp V7.0.9 I've installed a fresh Joomla 3.8 with a fresh K2 2.8, and nothing else. To my surprise the Close button closes also the tab so the behaviour is not linked to my site.

Any idea on how I can move on?

Regards
Roland

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
7 years 1 month ago #164453 by Krikor Boghossian
Replied by Krikor Boghossian on topic K2 frontend editor 2.8.0 - close button closes browser tab
Hello there,

Are you getting any JS errors?
Is the form loaded in a modal?

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • roland
  • roland's Avatar Topic Author
  • Offline
  • New Member
More
7 years 1 month ago #164459 by roland
No apparent JS erros but I did not set any debug mode.
It is loaded by default integrated in the browser. I am quite open in changing that if necessary.

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
7 years 1 month ago #164465 by Krikor Boghossian
Replied by Krikor Boghossian on topic K2 frontend editor 2.8.0 - close button closes browser tab
The close button will close the current instance.
Since it is not being loaded in a modal the current window will close.
It is better to use the K2 User module or load the menu item in a new window.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • roland
  • roland's Avatar Topic Author
  • Offline
  • New Member
More
7 years 1 month ago #164466 by roland
Sorry, not sure I understand.

This is the case:
. We are in the frontend, showing a Home menu output that blogs items
. A user is logged in and has publisher rights.
. the Edit button of a K2 item shows up.
. User clicks the Edit button and, in the same browser window, the K2 item open to be edited, with Save and Close buttons.

What are your suggestions?

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
7 years 1 month ago #164501 by Krikor Boghossian
Replied by Krikor Boghossian on topic K2 frontend editor 2.8.0 - close button closes browser tab
The editor should load inside a modal.
Can you try using the default template to see if the issue persists?

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

More
7 years 2 weeks ago #165161 by Aram
Hi,
I have the same problem. clicking on "Close" button will also close the current tab (browser). This only happens in Internet Explorer (11).
I tried Protostar template and Beez3. Same result.
Has anyone found a solution?
Thx in advance.
Aram

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
7 years 2 weeks ago #165164 by Krikor Boghossian
Replied by Krikor Boghossian on topic K2 frontend editor 2.8.0 - close button closes browser tab
Parev Aram,

Are you getting any JS errors in your browser developer tool's console tab?

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

More
7 years 2 weeks ago - 7 years 2 weeks ago #165174 by Aram
Hi Krikor,
In Chrome, etc.. none. In IE it's the file:
SCRIPT445:
jquery.min.js (2,3957)
this file is located in: /media/jui/js
The highlighted error line is:
return"string"==typeof b&&(f=a[b],b=a,a=f),n.isFunction(a)?(c=e.call(arguments,2),d=function(){return a.apply(b||this,c.concat(e.call(arguments)))},d.guid=a.guid=a.guid||n.guid++,d):void 0
Last edit: 7 years 2 weeks ago by Aram.

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
7 years 2 weeks ago #165182 by Krikor Boghossian
Replied by Krikor Boghossian on topic K2 frontend editor 2.8.0 - close button closes browser tab
Actually this is a core file, the issue is probably from some other file (hopefully), is there an error stack?

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum