lib/mutx/view/javascript.mote in mutx-0.1.12 vs lib/mutx/view/javascript.mote in mutx-0.1.13
- old
+ new
@@ -48,9 +48,10 @@
for(i=0; i < elements.length; i++){
if(elements[i].value.length > 0){
link += elements[i].getAttribute('name') + '=' + elements[i].value + '&';
}
}
+ link = link.replace(/\s/g,'%20');
infoForLink('Use to the following link to start execution, share it!', link.slice(0,link.length-1));
}
function info(title, text){
document.getElementById('myModalLabel').innerHTML= title;
document.getElementById('my-modal').innerHTML= text;
\ No newline at end of file