OSU-Net/cyder — pull request #207 by church29 (2013-08-06 02:17:41+00:00)
Title: Update forms for a related object now display a more intuitive title

if(this.href.indexOf(document.location) == -1)
checks if the update url is related to the location.
http://127.0.0.1:8000/core/system/ is in http://127.0.0.1:8000/core/system/1/update if it was not it would return -1
Fore example http://127.0.0.1:8000/core/system/1 is not in /http://127.0.0.1:8000/dhcp/dynamic_interface/1/update/
Therefore it adds an extra to the form title by grabbing objName which should exist in all base forms. This is the only issue I can see with this pull request.