Close popup after print
authorSteve Sutton <steve@gaslightmedia.com>
Wed, 14 Nov 2018 13:50:07 +0000 (08:50 -0500)
committerSteve Sutton <steve@gaslightmedia.com>
Wed, 14 Nov 2018 13:50:47 +0000 (08:50 -0500)
close the popup if canceled or print is done.

index.php
views/admin/billing/viewInvoice.html

index 4ebca0b..ca1737d 100644 (file)
--- a/index.php
+++ b/index.php
@@ -3,7 +3,7 @@
  * Plugin Name: GLM Members Billing
  * Plugin URI: http://www.gaslightmedia.com/
  * Description: This is glmAssociate Billing Module
- * Version: 1.0.12
+ * Version: 1.0.13
  * Author: Gaslight Media
  * Author URI: http://www.gaslightmedia.com/
  * License: GPL2
@@ -19,7 +19,7 @@
  * @package glmMembersBillingAddOn
  * @author Chuck Scott <cscott@gaslightmedia.com>
  * @license http://www.gaslightmedia.com Gaslightmedia
- * @version 1.0.12
+ * @version 1.0.13
  */
 
 /*
@@ -37,7 +37,7 @@
  *  so that we're sure the other add-ons see an up to date
  *  version from this plugin.
  */
-define('GLM_MEMBERS_BILLING_PLUGIN_VERSION', '1.0.12');
+define('GLM_MEMBERS_BILLING_PLUGIN_VERSION', '1.0.13');
 define('GLM_MEMBERS_BILLING_PLUGIN_DB_VERSION', '0.0.26');
 
 // This is the minimum version of the GLM Members DB plugin require for this plugin.
index b7f1efc..8d9bd0a 100644 (file)
@@ -30,7 +30,7 @@ jQuery(document).ready(function($) {
             popX:       500,       // popup window screen X position
             popY:       500,       // popup window screen Y position
             popTitle:   'Invoice', // popup window title element
-            popClose:   false,      // popup window close after printing
+            popClose:   true,      // popup window close after printing
             extraCss:   '',        // Comma separated list of extra css to include
             extraHead:  '',        // Comma separated list of extra elements to be appended to head tag
             strict:     false      // strict or looseTransitional html 4.01 document standard or undefined to not include at all only for popup option