azavea/OTM2 — pull request #469 by steventlamb (2013-09-30 18:40:21+00:00)
Title: Disallow eidint when no fields are editable

fixes #376 on github

Default the 'Edit' button to be disabled with explanatory title text. on js initialization, search the DOM for edit fields, which are only present when fields are in fact editable, and if they exist, re-enable the 'Edit' button.