integration/js/editor.js
changeset 109 3034776c1f35
parent 104 1b84c7b2aeee
child 118 7ad8b85dbd57
--- a/integration/js/editor.js	Wed Dec 05 10:55:06 2012 +0100
+++ b/integration/js/editor.js	Wed Dec 05 11:17:58 2012 +0100
@@ -890,7 +890,7 @@
             success: function(data, status, request){
                 var location = request.getResponseHeader("Location"),
                     projid = location.match(/([^/]+)\/?$/)[1],
-                    destination = IriSP.endpoints.hashcut_page + projid;
+                    destination = IriSP.endpoints.hashcut_page.replace('__PROJECT_ID__', projid);
                 $(window).off("beforeunload", onLeave);
                 document.location.href = destination;
             },