Permalink
Browse files

MINOR Removed windowName() invocation from futurestate.js to reduce i…

…ts dependencies to CMS code and allow error-less usage in fronted (fixes an IE "invalid argument" bug)
  • Loading branch information...
1 parent 5319ea1 commit 3d1e48ab9032b818171ca9fd01a8da3215844315 @chillu chillu committed Oct 14, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 javascript/futurestate.js
@@ -21,7 +21,7 @@
var urlDate = dateObj.getFullYear() + '-' + pad(dateObj.getMonth()+1) + '-' + pad(dateObj.getDate());
urlDate += ' ' + pad(dateObj.getHours()) + ':' + pad(dateObj.getMinutes()) + ':00';
- var w = window.open(this.href + '?futureDate=' + urlDate, windowName(this.target));
+ var w = window.open(this.href + '?futureDate=' + urlDate);
w.focus();
return false;

0 comments on commit 3d1e48a

Please sign in to comment.