Hydrogenaudio Forums

Hydrogenaudio Forum => Site Related Discussion => Topic started by: fireattack on 2018-07-08 23:21:33

Title: Ctrl+Z is broken in editor
Post by: fireattack on 2018-07-08 23:21:33
Pressing ctrl+Z (undo) in editor will cause JS error, which breaks any further ctrl+Z shortcut.

The GIF below shows the bug:

(https://i.imgur.com/MoPDhSe.gif)

The error:

Code: [Select]
hive-0f87c727262fa4155705f5ea3ac671aa59529e0e.js?x53279192:7 Uncaught TypeError: Cannot read property 'value' of undefined
    at d (hive-0f87c727262fa4155705f5ea3ac671aa59529e0e.js?x53279192:7)
    at v.o.undo (hive-0f87c727262fa4155705f5ea3ac671aa59529e0e.js?x53279192:7)
    at HTMLTextAreaElement.oe (hive-0f87c727262fa4155705f5ea3ac671aa59529e0e.js?x53279192:4)
    at HTMLTextAreaElement.dispatch (jquery-3.1.1.min.js:3)
    at HTMLTextAreaElement.q.handle (jquery-3.1.1.min.js:3)

It can be reproduced in both Chrome and Firefox, both are tested in clean profiles with NO extension/addon.
Title: Re: Ctrl+Z is broken in editor
Post by: kode54 on 2018-07-09 02:02:41
I will forward your error to the ElkArte forum, where the developers will most likely be interested in seeing this report.
Title: Re: Ctrl+Z is broken in editor
Post by: fireattack on 2018-07-09 02:48:18
Thank you!
SimplePortal 1.0.0 RC1 © 2008-2019