lshift/diffa — pull request #244 by paulj (2012-08-02 22:51:52+00:00)
Title: Don't call the initNewElHelper for models that already exist

Currently, every time a pair is opened, it has its endpoints reset to the first and second available ones. This is because initNewElHelper is being called indiscriminately whenever the view is loaded, instead of just when the model is being created afresh.