jejacks0n/mercury — pull request #153 by gmurphey (2012-02-03 18:10:45+00:00)
Title: Fixing bug where PageEditor doesn't check editorUrlRegEx in config correctly.

Fixed bug in the check of Mercury.config.editorUrlRegex in PageEditor.
PageEditor was not picking up the changes in Mercury.config, and instead checking Mercury.editorUrlRegex.

This commit reads editorUrlRegex correctly and fixes recursion issue when using an editing route different from the Mercury default.