📜 ⬆️ ⬇️

A bug with various saves in the admin MODX Revolution in Opera (Eternal download)

For my obscure reasons (if someone means the true reason and why it is not eliminated - tell me, I will be very grateful), when using Opera to administer the site on MODX Revolution, when the resource is saved, the “perpetual” loading window appears.

This window can be removed in one way - by refreshing the page. And since the administrative part works according to the principles of “AJAX”, this very much slows down the work.

The bug appears at the time of writing this article in the latest version of Opera 11.10, MODX Revolution 2.1.5-pl (advanced) and Ext JS Library 3.4.0.
')
I propose a temporary solution to this issue (until the release of the new version of Ext JS Library in the MODX Revolution package, or until MODX (or Opera) doesn’t fix it).



To get rid of the window of "perpetual" loading, you need to change the line in the file "manager / assets / ext3 / ext-all.js":
throw {message:"JsonReader.read: Json object not found"} 

on:
 return 1; 


Write comments, thank you for your attention!

PS Please note that after such a change, the data on updating the page will not go to the admin area. In other words, for example, after updating the page title, the title of the page in the resource tree will not be updated (although here I see my plus, this tree will not be updated each time, suspending the work process). If necessary, click on the appropriate button in the "Resources" section (Refresh Tree). Also in the Gallery module, new photos will not be displayed, but the page will not freeze and all photos will be successfully loaded, although they will not immediately appear in the thumbnail area inside the album.

Source: https://habr.com/ru/post/133757/


All Articles