r4412 update: In-place AJAX editing of reservation comments on object ports and IP...
authorAlexey Andriyanov <alan@al-an.info>
Mon, 4 Apr 2011 13:23:40 +0000 (13:23 +0000)
committerAlexey Andriyanov <alan@al-an.info>
Mon, 4 Apr 2011 13:23:40 +0000 (13:23 +0000)
commita8dc2982fe20740c73b5bf0b8dac20740cdc92f4
tree424c6cdabd10b99e0061f15024423784ac996aca
parentdbedced2c2a41982e076d4a0bebfbcc7b08b6a15
r4412 update: In-place AJAX editing of reservation comments on object ports and IP addresses

useupPort: using new function commitUpdatePortComment instad of direct DB request
renderRackObject: HTML layout justification for AJAX interface
renderIPv4Network: HTML layout justification for AJAX interface
renderEmptyIPv6: idem
renderIPv6NetworkAddresses: idem
commitUpdatePortComment: new function updating only one port field, keeping the others untouched
getPortInfo: new keys in result: 'id' and 'reservation_comment'
formatPortReservation: new func to render some of port's <td> tags
dispatchAJAXRequest: two new ops: update port comment and update ip address comment

js/inplace-edit.js: new JS lib for AJAX text editor
COPYING
ChangeLog
wwwroot/css/pi.css
wwwroot/inc/ajax-interface.php
wwwroot/inc/database.php
wwwroot/inc/interface.php
wwwroot/inc/ophandlers.php
wwwroot/js/inplace-edit.js [new file with mode: 0644]
wwwroot/pix/pencil-icon.png [new file with mode: 0644]