yui/yui3 — pull request #1917 by adamwoodnz (2014-07-22 23:46:22+00:00)
Title: Patch Y.DataTable.Paginator to allow a view with custom controls

Fixes a bug where the DataTable Paginator throws an error and fails to render if a custom view's contentTemplate does not contain the default controls. This is caused by using Y.one and not checking the result.

Fix checks for the existence of each control before calling methods.

Includes a unit test.