Skip to content

Commit 71a43e0

Browse files
committed
new msg
1 parent dabb274 commit 71a43e0

1 file changed

Lines changed: 19 additions & 1 deletion

File tree

‎v3/js/opt-frontend.js‎

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,8 @@ function experimentalPopUpSyntaxErrorSurvey() {
280280
</div>'
281281
*/
282282

283-
var version = 'v2'; // deployed on 2015-04-20
283+
/*
284+
var version = 'v2'; // deployed on 2015-04-20, revoked on 2015-09-08
284285
var surveyBubbleHTML = '<div id="syntaxErrBubbleContents">\
285286
<div id="syntaxErrHeader">You just fixed the following error:</div>\
286287
<div id="syntaxErrCodeDisplay"></div>\
@@ -293,6 +294,23 @@ function experimentalPopUpSyntaxErrorSurvey() {
293294
<a href="#" id="syntaxErrHideAllLink">Hide all pop-ups</a>\
294295
</div>\
295296
</div>'
297+
*/
298+
299+
var version = 'v3'; // deployed on 2015-09-08
300+
var surveyBubbleHTML = '<div id="syntaxErrBubbleContents">\
301+
<div id="syntaxErrHeader">You just fixed the following error:</div>\
302+
<div id="syntaxErrCodeDisplay"></div>\
303+
<div id="syntaxErrMsg"></div>\
304+
<div id="syntaxErrQuestion">\
305+
Please help us improve error messages for future users.\
306+
If you think the above message wasn\'t helpful, what would have been the best message for you here?<br/>\
307+
<input type="text" id="syntaxErrTxtInput" size=60 maxlength=150/><br/>\
308+
<button id="syntaxErrSubmitBtn" type="button">Submit</button>\
309+
<button id="syntaxErrCloseBtn" type="button">Close</button>\
310+
<a href="#" id="syntaxErrHideAllLink">Hide all of these pop-ups</a>\
311+
</div>\
312+
</div>'
313+
296314

297315
$(bub.qTipContentID()).html(surveyBubbleHTML);
298316

0 commit comments

Comments
 (0)