digi604/django-smart-selects — pull request #34 by mkalinowski (2013-02-05 11:35:18+00:00)
Title: Apply JS admin monkeypatch only when in admin

Because only admin forms use dismissAddAnotherPopup, it's undefined
in regular forms. That in turn results in
"Uncaught ReferenceError: dismissAddAnotherPopup is not defined." when
loading chained widgets.