From 463d299d15a5ca8dd5f3d5907621a221181f9565 Mon Sep 17 00:00:00 2001 From: Mike Olund Date: Fri, 24 Mar 2017 13:31:31 -0700 Subject: [PATCH] DIV-200 - Preview form should open in the same tab. --- edivorce/apps/core/static/js/main.js | 5 +++++ .../apps/core/templates/dashboard/print_form.html | 14 +++++++------- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/edivorce/apps/core/static/js/main.js b/edivorce/apps/core/static/js/main.js index 7b9001ad..0fb1ff98 100755 --- a/edivorce/apps/core/static/js/main.js +++ b/edivorce/apps/core/static/js/main.js @@ -192,5 +192,10 @@ $(".question-well").click(function () { $(this).addClass('hasFocus'); }); +// disable collapse for links in data-toggle elements +$('.no-collapse').on('click', function (e) { + e.stopPropagation(); +}); + // kills the spinner when the back button is pressed window.onunload = function () { }; diff --git a/edivorce/apps/core/templates/dashboard/print_form.html b/edivorce/apps/core/templates/dashboard/print_form.html index f91e7834..2f8a950d 100644 --- a/edivorce/apps/core/templates/dashboard/print_form.html +++ b/edivorce/apps/core/templates/dashboard/print_form.html @@ -23,7 +23,7 @@
Notice of Joint Family Claim Form (F1)
-

Preview | Print

+

Preview | Print

@@ -37,7 +37,7 @@
Requisition Form (F35)
-

Preview | Print

+

Preview | Print

@@ -51,7 +51,7 @@
Draft Final Order Form (F52)
-

Preview | Print

+

Preview | Print

@@ -71,7 +71,7 @@
Certificate of Pleadings Form (F36)
-

Preview | Print

+

Preview | Print

@@ -91,7 +91,7 @@
Affidavit Desk Order Divorce Form (F38) - signing together
-

Preview | Print

+

Preview | Print

@@ -119,11 +119,11 @@

Claimant 1

- Preview | Print + Preview | Print

Claimant 2

- Preview | Print + Preview | Print