diff --git a/resources/lang/en/texts.php b/resources/lang/en/texts.php index 695f5b9751..b0139e845c 100644 --- a/resources/lang/en/texts.php +++ b/resources/lang/en/texts.php @@ -2260,7 +2260,7 @@ $LANG = array( 'custom_design2' => 'Custom Design 2', 'custom_design3' => 'Custom Design 3', 'empty' => 'Empty', - 'select_design' => 'Select Design', + 'load_design' => 'Load Design', 'accepted_card_logos' => 'Accepted Card Logos', ); diff --git a/resources/views/accounts/customize_design.blade.php b/resources/views/accounts/customize_design.blade.php index b5189cc01d..12e40fbff6 100644 --- a/resources/views/accounts/customize_design.blade.php +++ b/resources/views/accounts/customize_design.blade.php @@ -97,7 +97,10 @@ function onSelectChange() { - var id = $('#invoice_design_id').val(); + var $select = $('#invoice_design_id'); + var id = $select.val(); + $select.val(null); + if (parseInt(id)) { var design = _.find(invoiceDesigns, function(design){ return design.id == id}); customDesign = JSON.parse(design.javascript); @@ -189,7 +192,7 @@