package/ui/phpvirtualbox/js/utils.js
/**
 * Get a local data item using the local storage mechanism
 * @param {String} k - data item key
 * @return {mixed} data item value
 */
Get a local data item using the local storage mechanism
@param {String} k - data item key
@return {mixed} data item value
Get a local data item using the local storage mechanism @param { String } k - data item key @return { mixed } data item value
function vboxGetLocalDataItem(k) {
	if(typeof(Storage)==="undefined") {
		return $('#vboxPane').data('vboxCookies')[k];
	}
	return localStorage.getItem(k);
}
function vboxGetLocalDataItem ( k ) { if ( typeof ( Storage ) === "undefined" ) { return $ ( '#vboxPane' ) . data ( 'vboxCookies' ) [ k ] ; } return localStorage . getItem ( k ) ; }
Get a local data item using the local storage mechanism
 @param {String} k - data item key
 @return {mixed} data item value
Get a local data item using the local storage mechanism @param { String } k - data item key @return { mixed } data item value
// fall back to normal cookie
