Thursday 4th September, 2014

Editor 1.3.3 release notes

A minor update release to Editor 1.3 while development progresses on the next major release - v1.4. This update includes one new feature (focus capture to help improve keyboard accessibility) and a number of fixes in the core library and examples.

Details of all changes are available below.

Release notes

New

  • New: Focus capture - when the editor form is shown, it shouldn't be possible to trigger actions using the keyboard, which are not mouse accessible. Previously this could be done with the tab key (for example you could cause the table to be reordered). This stops that by keeping the focus in the form.
  • New example: Duplicate button

Updates

  • Update: Add Editor version to the PHP libraries
  • Update: Bootstrap integration to use non-global TableTools
  • Update: General error message updated to include link to tech note 12
  • Update - examples: Change number formatting to use comma for thousands
  • Update - docs: Add a note to ajax to indicate that _id_ is a literal string

Fixes

  • Fix: Inline editing could result in making the table uneditable (until reload) due to an event listener not being removed. This was ultimately caused by the close method not being triggered. This was particularly noticeable if using tab control or the Ajax response from the server was very slow.
  • Fix: submitComplete wasn't being triggered if there was an Editor field or form error (valid JSON required - it was being triggered in the case where invalid JSON was returned)
  • Fix: Inline editing in IE10- with return submit could activate button click methods on elements that are not related to Editor
  • Fix: Improved keyboard accessibility for the form submit buttons
  • Fix: use data as the property to automatically determine the field to be edited for inline and bubble editing, rather than the name. Typically they are the same, but don't need to be.
  • Fix: Radio fields may not always be updated if they are detached from the DOM
  • Fix: Button class needs a space to separate it from the main form button class
  • Fix: Style error in lightbox code - extra semi-colon (jshint)
  • Fix: Missing semi-colons (jshint)

PHP

  • Fix - PHP: Exception could occur when trying to read data that does not exist
  • Fix - PHP: If a leftJoin refers to a field that isn't included, no action is taken on it
  • Fix - PHP: minMaxNum validator had a typo in it causing it to fail

Docs

  • Fix - docs: Typos in add() and select documentation
  • Fix - docs: ajax.data had an incorrect link in it

Examples

  • Fix - example: Tab control used the on prefix for events from 1.2
  • Fix - example: Remove setInterval from inline tab example
  • Fix - example: Inline tabbing - tab control should only be activated when inline editing
  • Fix - examples: Typos in simple and field defaults examples
  • Fix - examples: Typo of 'Extension' in examples