modxcms / revolution

MODX Revolution - Content Management Framework
https://modx.com/
GNU General Public License v2.0
1.36k stars 529 forks source link

Does not work button New Content Type #14617

Closed Ibochkarev closed 5 years ago

Ibochkarev commented 5 years ago

Bug report

Summary

Does not work button New Content Type

Step to reproduce

Go to menu Content -> Content Types click button New Content Type

Observed behavior

After clicking on the button, no activity occurs, an error is displayed in the console:

image

Uncaught TypeError: Cannot read property 'binary' of undefined
    at new MODx.window.CreateContentType (modx.grid.content.type.js:257)
    at MODx.grid.ContentType.newContentType (modx.grid.content.type.js:139)
    at S.onClick (ext-all.js:21)
    at HTMLSpanElement.I (ext-all.js:21)

Environment

MODX 3 with the latest commit https://github.com/modxcms/revolution/commit/26430024e33db91b599e57a5b9c530b19cd6be31 PHP 7.1.2 MySQL 5.7.23

Ibochkarev commented 5 years ago

Fixed in #14644 . You can close.