Permalink
Browse files

Loading overlay now called after URL has been validated.

  • Loading branch information...
1 parent ba97be1 commit c336d66ecfde8fbe8212bb28f8567b69ae8b1ad9 @mdb mdb committed Apr 15, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −0 public/js/ps.core.js
  2. +0 −1 views/index.jade
View
@@ -11,6 +11,7 @@ PS.core = (function ($) {
getHar: function(url) {
if (PS.utils.isUrl(url)) {
$('form p.error').slideUp(75);
+ PS.ui.overlay.init();
$.ajax({
dataType: 'jsonp',
jsonp: 'jsoncallback',
View
@@ -37,7 +37,6 @@ block scripts
PS.core.hideTabs();
$('form').submit(function(evt){
- PS.ui.overlay.init();
PS.core.clearContent();
PS.core.hideTabs();

0 comments on commit c336d66

Please sign in to comment.