-
-
Save bangpound/f16736cd6506b2a0b756e2372612be33 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/AppBundle/Resources/public/js/Controller/ReviewController.js b/src/AppBundle/Resources/public/js/Controller/ReviewController.js | |
index e12890d..3292e7a 100644 | |
--- a/src/AppBundle/Resources/public/js/Controller/ReviewController.js | |
+++ b/src/AppBundle/Resources/public/js/Controller/ReviewController.js | |
@@ -10,17 +10,7 @@ | |
) | |
.directive('myPopup', ['$window', function ($window) { | |
return { | |
- restrict: 'EA', | |
- scope: { | |
- camperFormData: '=', | |
- parentFormData: '=', | |
- registration: '=', | |
- labelMap: '=', | |
- reviewLeadData: '=', | |
- reviewLeadDetails: '=', | |
- currentSeason: '=', | |
- productsById: '=' | |
- }, | |
+ restrict: 'A', | |
link: function (scope, elem, attrs) { | |
function saveDataLocally () { | |
diff --git a/src/AppBundle/Resources/public/views/review.html b/src/AppBundle/Resources/public/views/review.html | |
index 0eab281..542bdaa 100644 | |
--- a/src/AppBundle/Resources/public/views/review.html | |
+++ b/src/AppBundle/Resources/public/views/review.html | |
@@ -5,14 +5,6 @@ | |
<div class="col-md-5 col-md-push-7 col-sm-12"> | |
<button | |
my-popup | |
- camper-form-data="camperFormData" | |
- parent-form-data="parentFormData" | |
- registration="registration" | |
- label-map="labelMap" | |
- review-lead-data="reviewLeadData" | |
- review-lead-details="reviewLeadDetails" | |
- current-season="currentSeason" | |
- products-by-id="productsById" | |
> | |
</button> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment