mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 04:22:07 +02:00
MDL-39422 course: prevent module names longer 255 chars
To prevent ugly DB errors.
This commit is contained in:
parent
cf5a3296c4
commit
4fb3df32ac
3
course/yui/toolboxes/toolboxes.js
vendored
3
course/yui/toolboxes/toolboxes.js
vendored
@ -517,7 +517,8 @@ YUI.add('moodle-course-toolboxes', function(Y) {
|
||||
'name' : 'title',
|
||||
'value' : titletext,
|
||||
'autocomplete' : 'off',
|
||||
'aria-describedby' : 'id_editinstructions'
|
||||
'aria-describedby' : 'id_editinstructions',
|
||||
'maxLength' : '255'
|
||||
})
|
||||
.addClass('titleeditor');
|
||||
var editform = Y.Node.create('<form />')
|
||||
|
Loading…
x
Reference in New Issue
Block a user