[pve-devel] [PATCH manager v2 0/4] Add a new parameter afterTaskProgress to pveWindowEdit

Emmanuel Kasper e.kasper at proxmox.com
Thu Dec 22 12:15:19 CET 2016


Also use this parameter to redisplay the OSD list after adding/removing items.

change since V1:
 * rename afterAPICall to afterTaskProgress since we want the passed function
 to be executed after the progress window closed, and not after each API call
 * minor rewrite of the nested ternary operators rewrite after feedback from d.csapak@

Emmanuel Kasper (4):
  Add a new property afterTaskProgress to Edit Window
  Use afterTaskProgress to reload ourself after adding an OSD
  Fix reload of grid when removing an OSD
  Replace nested ternary operators with if/else statements

 www/manager6/ceph/OSD.js    |  7 ++++---
 www/manager6/window/Edit.js | 22 +++++++++++++++++++++-
 2 files changed, 25 insertions(+), 4 deletions(-)

-- 
2.1.4





More information about the pve-devel mailing list