lib/kaya/view/javascript.mote in kaya-0.0.6 vs lib/kaya/view/javascript.mote in kaya-0.0.7
- old
+ new
@@ -29,10 +29,10 @@
replaced_text = replaced_text.replace(/%GT&/g,'>')
all_html = start_html + replaced_text + end_html;
document.getElementById('myLargeModalLabel').innerHTML= title;
document.getElementById('my-largeModal').innerHTML= all_html;
}
- function go_clean(){
+ function go_clean(url){
window.location.href = url;
}
function refresh_and_open(url){
window.open(url, '_blank', 'toolbar=no, scrollbars=yes, resizable=yes, top=300, left=300, width=800, height=600');
location.reload();
\ No newline at end of file