> when the search field is empty, the cc-print-hide class needs to be added.

When it's empty!  Now I get it.

Thanks for your answers.

Mike


On Thu, Feb 6, 2014 at 1:50 AM, Christian Vuerings <notifications@github.com
> wrote:

> In app/views/templates/_myfinances.html:
>
> > @@ -153,8 +153,9 @@ <h2 class="cc-left">Financial Resources</h2>
> >          <div class="cc-widget cc-page-myfinances-account-activity cc-widget-last">
> >            <div class="cc-widget-title">
> >              <h2 class="cc-left">Activity</h2>
> > -            <div class="cc-right cc-page-myfinances-account-activity-search">
> > -              <input type="text" placeholder="Search..." data-ng-model="search.$">
> > +            <div class="cc-right cc-print-clear cc-print-left cc-page-myfinances-account-activity-search" data-ng-class="{'cc-print-hide':(!search.$)}">
>
> @chikoon <https://github.com/chikoon> when the search field is empty, the
> cc-print-hide class needs to be added.
> See
> https://github.com/christianv/calcentral/blob/CLC-3222/app/views/templates/_myfinances.html#L158
> search.$ is the model of the search input field.
>
> Something that might help to understand this is to output search.$ in the
> browser, just add {{search.$}} in the DOM somewhere.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/ets-berkeley-edu/calcentral/pull/2087/files#r9486254>
> .
>