Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…12cdd6b-5c7d-d5a7-a2ba-d0f0cdb91641
  • Loading branch information
pgogy committed Apr 8, 2011
1 parent 023632c commit 1f8c391
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions website_code/php/templates/new_template.php
@@ -1,4 +1,6 @@
<?PHP /**
<?PHP

/**
*
* new_templates, allows the site to create a new user
*
Expand Down Expand Up @@ -57,7 +59,7 @@

create_new_template(($maximum_template_id+1),$_POST['tutorialid']);

echo ($maximum_template_id+1);
echo trim(($maximum_template_id+1));

}else{

Expand Down
2 changes: 1 addition & 1 deletion website_code/scripts/template_management.js
Expand Up @@ -1184,7 +1184,7 @@ function tutorial_created(){

if(xmlHttp.responseText!=""){

var neweditorwindow = window.open(site_url + url_return("edit" , xmlHttp.responseText), "editwindow" + xmlHttp.responseText, "height=665, width=800" );
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 1f8c391

Please sign in to comment.