Zero108 Posted June 28, 2018 Share Posted June 28, 2018 Где можно отключить глобально опцию редактирования заголовка любого объекта контента любого приложения, когда удерживаешь клик мыши на нем? Link to comment Share on other sites More sharing options...
newbie Posted June 29, 2018 Share Posted June 29, 2018 (edited) В \system\Content\Item.php есть /** * @brief Allow the title to be editable via AJAX */ public $editableTitle = TRUE; Но не работает. То ли старый код, то ли не реализованный. Можно js использовать <script> $(function() { $('[data-role="editableTitle"]').removeAttr('data-role').removeAttr('title'); }); </script> Edited July 1, 2018 by newbie 1 Link to comment Share on other sites More sharing options...
Zero108 Posted June 30, 2018 Author Share Posted June 30, 2018 (edited) Вот тут не действует. В коде поместил в глобалтемплейт перед </body>. Вообщем, когда список названий - не действует. Когда отдельная страница (тема форума, например) то действует. Edited June 30, 2018 by Zero108 Link to comment Share on other sites More sharing options...
newbie Posted July 1, 2018 Share Posted July 1, 2018 Изменил пост 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now