Labyrinth-Plugin-Release

 view release on metacpan or  search on metacpan

vhost/html/js/release.js  view on Meta::CPAN

         retArr.length = lastElement;
         retArr[lastElement] = 0; // return zero as the only array value
      }
   }
   return retArr;
} // Ends the "getSelectedCheckbox" function


function DoPopup(callback) {
	document.forms[0].display.value = callback;
	window.open(cgipath+"/pages.cgi?act=album-pick", "popup", "width=370,height=450,scrollbars=no,menubar=no,resizable=no,status=no,toolbar=no,location=no");
}

function SetImage(id,href) {
	f = document.forms[1];
	f.elements[f.display.value].value=id;
	disp = document.getElementById(f.display.value);
	disp.src=webpath+href
}

function PhotoGallery(callback) {
	document.forms[1].display.value = callback;
	window.open(cgipath+"pages.cgi?act=album-pick", "popup", "width=370,height=450,scrollbars=no,menubar=no,resizable=no,status=no,toolbar=no,location=no");
}

function ImageGallery(callback) {
	document.forms[1].display.value = callback;
	window.open(cgipath+"pages.cgi?act=imgs-gallery&imagetype=0,1,2,4,9", "popup", "width=340,height=390,scrollbars=no,menubar=no,resizable=no,status=no,toolbar=no,location=no");
}

function AddTag(tag) {
	var meta = document.getElementById('metadata');
	var val = meta.value;
	if(val) { val = val + ' ' }
	val = val + tag
    meta.value = val;
}



( run in 0.551 second using v1.01-cache-2.11-cpan-364913b4093 )