We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b07983 commit 19fcfd4Copy full SHA for 19fcfd4
resources/assets/js/cachet.js
@@ -310,6 +310,22 @@
310
sparkLine();
311
}
312
313
+ function goToStep(current, next) {
314
+ // validation was ok. We can go on next step.
315
+ $('.block-' + current)
316
+ .removeClass('show')
317
+ .addClass('hidden');
318
+
319
+ $('.block-' + next)
320
+ .removeClass('hidden')
321
+ .addClass('show');
322
323
+ $('.steps .step')
324
+ .removeClass("active")
325
+ .filter(":lt(" + (next) + ")")
326
+ .addClass("active");
327
+ }
328
329
// Check for updates.
330
if ($('#update-alert').length > 0) {
331
$.ajax({
0 commit comments