D
D
Dmitry Gorbach2014-09-24 11:32:02
MODX
Dmitry Gorbach, 2014-09-24 11:32:02

Modx, why does the admin panel freeze in chrome?

Good afternoon! Today I ran into a problem on two different sites!
In the modx admin panel, when creating a new document, or copying an old one, the admin panel freezes! FF is fine. And tonight in Chrome, too, everything was fine! I cleared the cache, launched it in RI, still there is a problem. Can anyone suggest how to solve this problem?

Answer the question

In order to leave comments, you need to log in

10 answer(s)
E
Egor Bolgov, 2014-10-08
@BlaDe39

I was not too lazy and figured out what was happening. The problem is in chrome ± in ExtJS.
Chrome incorrectly performs the Date.add('mi',15) operation and forgets to rewind the day, while ExtJS.TimeField does not provide for stopping the loop by the number of iterations and it generates an infinite loop to generate a drop-down list of times in the xdatetime field.
Made a bug report in chrome: code.google.com/p/chromium/issues/detail?can=1&q=D...
Well, a simple fix for modx: in the file /manager/assets/modext/util/datetime.js change lines

,maxTimeValue: null
,minTimeValue: null

on the
,maxTimeValue: new Date('08/10/2014').clearTime().add('mi', (24 * 60) - 16)
,minTimeValue: new Date('08/10/2014').clearTime()

Which limits our posting time to 23:44, but temporarily solves our problem.
I don't know if it's worth writing a patch request for modx, because the bug is clearly in chrome.

D
d-udovichenko, 2014-09-24
@d-udovichenko

The same story.
It started today, it was in chrome.
Immediately on all modx'ah.
It hangs and not modx, but all chrome.
Looks like chrome has updated something. And something conflicted with something.
Find out exactly what.

L
levpasha, 2014-09-24
@levpasha

+1, same thing. Only not at night it started, but about 8 hours ago.
By the way, it also doesn’t work in Chrome analogues (Yandex, Safari), while I work through the fox ...
It stopped working at one moment, on different sites, sats on different servers, running different versions of Modx.

E
Egor2007, 2014-09-24
@Egor2007

Yes, I'm not the only one! Indeed, it started today and on all my sites. The solution to the problem is to roll back the OS a few days ago. Earned. But now I don’t know for how long ... Apparently updates in chrome should be disabled

B
boolikefoo, 2014-09-25
@boolikefoo

I changed the time zone in the Windows settings to (+6 Astana) (it was +5 Yekaterinburg), everything worked fine. Let's try comrades! (:

D
Dmitry Gorbach, 2014-09-25
@0whitewolf0

Oops, it's not my problem! Well guys, I hope the problem will be solved soon.

M
matuhin, 2014-09-25
@matuhin

Thanks for the help! Indeed, changing the zone in the date / time settings in Windows helps.
Just an amazing glitch.
By the way, Microsoft fails not the first service pack.
One of the previous ones overwritten fonts :)

P
php-include, 2014-09-26
@php-include

Thanks!! otherwise I already about .... made a transfer

S
serg_smirnoff, 2014-10-28
@serg_smirnoff

This is a great solution. With time zone change. Only clients will get into the admin area.
And they're all stuck. Something will need to be done.
So far I see several options
- Wait for Microsoft to make a new patch, taking into account the peculiarities of ExtJS.
- Wait for a new version of MODx to come out that fixes this trouble with an updated version of ExtJS
- Each client, apply the ExtJS patch manually
- Tell each client that the easiest solution is to unscrew the time zone, or it is more difficult to roll back the patch.
And here's how to be? After all, literally in a day or two they will start calling.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question