Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

MDL-39422 course: prevent module names longer 255 chars

To prevent ugly DB errors.
  • Loading branch information...
commit 6b8f82e412bd5caf30fa80620e77e4107f8baf67 1 parent 5e00b9a
Dan Poltawski danpoltawski authored

Showing 1 changed file with 2 additions and 1 deletion. Show diff stats Hide diff stats

  1. +2 1  course/yui/toolboxes/toolboxes.js
3  course/yui/toolboxes/toolboxes.js
@@ -509,7 +509,8 @@ YUI.add('moodle-course-toolboxes', function(Y) {
509 509 'name' : 'title',
510 510 'value' : titletext,
511 511 'autocomplete' : 'off',
512   - 'aria-describedby' : 'id_editinstructions'
  512 + 'aria-describedby' : 'id_editinstructions',
  513 + 'maxLength' : '255'
513 514 })
514 515 .addClass('titleeditor');
515 516 var editform = Y.Node.create('<form />')

0 comments on commit 6b8f82e

Please sign in to comment.
Something went wrong with that request. Please try again.