prose/prose — pull request #607 by iwege (2013-09-27 10:35:13+00:00)
Title: fix bug : "freeze when user click `drafts to posts`"

When you use `this.model && {}` condition, this will always true.

For example:
~~~
if ({}){
alert("true");
}
~~~
will print true in your browser.

So `nearestPath ` method will loop infinitely and freeze user browser.

This patch is just a workaround to fix the condition to use `nearestPath` normally. I don't know whether it breaks other functions or not.