Skip to content

Commit

Permalink
new survey "while you wait" during publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
lexoyo committed Feb 11, 2016
1 parent 426e8c2 commit b2e41d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/controller/file-menu-controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ silex.controller.FileMenuController.prototype.publish = function() {
this.model.file.getHtml(),
goog.bind(function(status) {
silex.utils.Notification.alert('<strong>I am about to publish your site. This may take several minutes.</strong>', () => clearInterval(timer), 'Close');
setTimeout(() => silex.utils.Notification.setInfoPanel('<iframe style="width:100%; height:100%; " src="https://fr.surveymonkey.com/r/LCSJFC2"></iframe>'), 2000);
setTimeout(() => silex.utils.Notification.setInfoPanel('<iframe style="width:100%; height:100%; " src="https://fr.surveymonkey.com/r/DP823KR"></iframe>'), 2000);
var timer = setInterval(() => {
silex.service.SilexTasks.getInstance().publishState(json => {
silex.utils.Notification.setText('<strong>' + json['status'] + '</strong>');
Expand Down

0 comments on commit b2e41d5

Please sign in to comment.