Skip to content

Commit

Permalink
perhaps stop IE7 moaning
Browse files Browse the repository at this point in the history
git-svn-id: https://xerteonlinetoolkits.googlecode.com/svn/trunk@177 912cdd6b-5c7d-d5a7-a2ba-d0f0cdb91641
  • Loading branch information
Dave Goodwin committed Oct 21, 2011
1 parent cd4e4cf commit f8d0d5a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website_code/scripts/template_management.js
Expand Up @@ -1176,8 +1176,8 @@ function tutorial_created(){

if (xmlHttp.readyState==4){
if( typeof xmlHttp.responseText == 'string' ) {
response = String(response);
response = xmlHttp.responseText.trim();
response = String(xmlHttp.responseText);
response = response.trim();
if(response!=""){
var neweditorwindow = window.open(site_url + url_return("edit" , xmlHttp.responseText.split(" ").join("")), "editwindow" + xmlHttp.responseText.split(" ").join(""), "height=665, width=800" );
new_file = xmlHttp.responseText;
Expand Down

0 comments on commit f8d0d5a

Please sign in to comment.