delving/drupal_modules — pull request #5 by eiriksm (2012-01-09 08:29:17+00:00)
Title: Remove ajax

Just a small fix to the admin page. This uses Drupal's form API to change the visibility of the portal URL textfield. The pros of this is that it uses no ajax (and so, no loading time) and also fixes the issue that the field was not hidden again if you change your mind on where to display the objects.

Without javascript enabled the textfield is now visible by default, compared to the ajax solution, where you had to submit the entire form to get to type in a portal in the textfield.