← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1432790] Re: Action directive does not update angular expressions

 

** Changed in: horizon
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1432790

Title:
  Action directive does not update angular expressions

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  The angular Action directive uses transclude to clone the innerHTML
  and prepend it once. However, when the data model is updated, the
  expression inside the innerHTML does not get updated.

  Example:
  <action
    button-type="menu-item"
    action-classes="'btn-default'"
    callback="actions.enable.toggle" item="user">
    {$ user.enabled? 'Enable': 'Disable' $}
  </action>

  When user.enabled is updated, the 'Enable' and 'Disable' label does
  not.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1432790/+subscriptions


References