Preserve highlighted row during context menu operation
[infodrom/phone] / lib / basics.js
index d548e3d..521533b 100644 (file)
@@ -57,6 +57,8 @@ function ajax_request(func,params,oncomplete)
 function menu_hide(e)
 {
     e.target.parentNode.style.display = 'none';
+    if (e.target.parentNode.payload['row'] != undefined)
+       e.target.parentNode.payload['row'].style.backgroundColor = '';
 }
 
 function menu_create(id,data)