https://antibiotiqueaugmentin.com/surdosage-augmentin-bebe/
× Welcome to the ToolsJX forum!


Bug in Shortcuts JX SyntaxError: JSON.parse: unexp

  • illovo
  • illovo's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 7 months ago #2925

Joomla 3.3.3
Tested on several installations

Test:
Install Plugin Shortcuts JX and activate it.

Go to Extensions > Language Manager > Overrides
Click New.
Set cursor into search field.
If no cache has been created yet you'll see a message "Please wait while the cache is recreated."

Afterwards a JavaScript alert pops up:

SyntaxError: JSON.parse: unexpected non-whitespace character after JSON data at line 1 column 60 of the JSON data

{"success":true,"message":null,"messages":null,"data":true}<script type="text/javaScript">
		 if(typeof(tinyMCE) !== "undefined"){
		 	tinyMCE.onAddEditor.add(function(mgr,ed) {
			    ed.onKeyDown.add(function(ed, e){shortcutsjx(e);});
			});
		 }	
		 </script>

If cache does already exist just enter a search word and click Search. A similiar message pops up.

Deactivate plugin. All works fine.

Last edit: 9 years 7 months ago by illovo.
The following user(s) said Thank You: tomaz

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

More
9 years 7 months ago #2926

Thank You for reporting this. We will take a look.

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

Moderators: tomaz
Time to create page: 0.176 seconds

Contact Us

Contact us on Discord

Contact us on Facebook