* terms
*/
- module.clear_attempt_display();
module.progress_dialog.attr("title", localeStrings.VERIFICATION_DIALOG);
module.progress_dialog.show();
});
if (r.attempt) {
- module.update_attempt_display(r.attempt);
module.attempt = r.attempt;
+ module.progress_dialog.show(
+ false,
+ dojo.string.substitute(
+ localeStrings.VERIFICATION_ATTEMPT_ID,
+ [r.attempt.id()]
+ )
+ );
}
}
},
)
};
- module.clear_attempt_display = function() {
- dojo.empty(dojo.byId("url-verify-attempt-id"));
- dojo.empty(dojo.byId("url-verify-attempt-start"));
- dojo.empty(dojo.byId("url-verify-attempt-finish"));
- };
-
- /* This gives the user a way to know the verification attempt
- * information for the theoretical purposes of restarting it
- * later, although we don't give them a way to do that yet, and
- * when we do, it really shouldn't involve the user remembering
- * an ID number. */
- module.update_attempt_display = function(attempt) {
- dojo.byId("url-verify-attempt-id").innerHTML =
- dojo.string.substitute(
- localeStrings.VERIFICATION_ATTEMPT_ID,
- [attempt.id()]
- );
- dojo.byId("url-verify-attempt-start").innerHTML =
- dojo.string.substitute(
- localeStrings.VERIFICATION_ATTEMPT_START,
- [attempt.start_time()]
- );
-
- if (attempt.finish_time()) {
- dojo.byId("url-verify-attempt-finish").innerHTML =
- dojo.string.substitute(
- localeStrings.VERIFICATION_ATTEMPT_FINISH,
- [attempt.finish_time()]
- );
- }
- };
-
}());
}
"VERIFY_ALL": "Click 'OK' to verify ALL the URLs found in this session. Click 'Cancel' if the selected, visible URLs are the only ones you want verified.",
"VERIFICATION_DIALOG": "Verifying URLs ...",
"VERIFICATION_ATTEMPT_ID": "Verification attempt ID: ${0}",
- "VERIFICATION_ATTEMPT_START": "Attempt start time: ${0}",
- "VERIFICATION_ATTEMPT_FINISH": "Attempt finish time: ${0}",
"NOTHING_SELECTED": "No rows are selected, so no action will be taken."
}