Selectbox auswahl gefixt.

This commit is contained in:
2016-02-04 14:01:30 +01:00
parent 3729b6cf63
commit e0500a55fc
22 changed files with 72 additions and 76 deletions

View File

@@ -47,8 +47,8 @@
</div>
<div style="padding-bottom:15px;">
<button class="button button-full button-custom" modal-select="" ng-model="backgroundpic" options="backgrounds" option-getter="getBackgroundOpt(option)" modal-title="Hintergrund wählen">
{{ 'Hintergrund: ' + backgroundpic || 'Hintergrund'}}
<button class="button button-full button-custom" modal-select="" ng-model="backgroundpic" options="backgrounds" on-select="getBackgroundOpt(newValue, oldValue)" modal-title="Hintergrund wählen">
{{ 'Hintergrund: ' + $parent.backgroundpic || 'Hintergrund'}}
<div class="option">
<h2>{{option.name}}</h2>
<p>{{option.beschreibung}}</p>
@@ -60,7 +60,7 @@
<div class="item item-divider oleo">Rosen jetzt kaufen?</div>
<div class="row">
<div class="col col-50"><button class="button button-full button-small icon-left ion-image button-custom" ng-disabled="!$parent.preis || !$parent.name || !$parent.freitext" ng-click="validate()">Vorschau</button></div>
<div class="col col-50"><button class="button button-full button-small icon-left ion-image button-custom" ng-click="validate()">Vorschau</button></div>
<div class="col col-50"><button class="button button-full button-small icon-left ion-social-euro button-custom" ng-disabled="!$parent.preis || !$parent.freitext || !$parent.name" ng-click="buyRose()">Jetzt Kaufen</button></div>
</div>