Commits

Udi Bauman committed b10a2d6

fixed print map bug when in tutorial

  • Participants
  • Parent commits c799132

Comments (0)

Files changed (1)

File client/ekkli.js

 
 function setMap(context, page) {
 	console.log("setMap");
-	console.log(context);
-	console.log("==========================================")
 	if (Meteor.user() && !Session.get("contextId")) {
 		var user = Meteor.user();
 		if (user.contextId) Session.set("contextId", user.contextId);
 		    Session.set("selectedStory", null);
 		}
 	}
+	
+	
 
 	// TODO record achievement
+	if (context.context.path.indexOf("/export") < 0) {
 	if (typeof basicsTutorial != 'undefined') {
 		if (typeof context.params._id != 'undefined') {
 			basicsTutorial.openMap();
 			basicsTutorial.closeMap();
 		}
 	}
+	}
 }
 
 userNeedsTutorial = function(badge) {