With console_fr.html:
prompt("Hello", "world")
display a dialog with "Hello" shown, but the input is not pre-filled with
"world"
Possible workaround, by adding :
<script type="text/javascript">
patch = {
__getattr__ : function(attr){
var res = this[attr]
if(res===undefined){$raise('AttributeError','module has no attribute '+attr)}
return res
},
prompt : function(s1,s2){ return prompt(s1, s2) }
}
</script>
and using:
patch.prompt("Hello", "world")
Original issue reported on code.google.com by pedro.ro...@gmail.com on 27 Dec 2012 at 3:52
Original issue reported on code.google.com by
pedro.ro...@gmail.com
on 27 Dec 2012 at 3:52