User:CWii/JB2script.js: Difference between revisions

Content deleted Content added
CWii (talk | contribs)
update
CWii (talk | contribs)
update
Line 10:
Window.setTitle( "John Bot II image moval b" );
var form = new QuickForm( jb2script.callback.evaluate );
var categoriesoptions = form.append( {
type: 'select',
name: 'movable',
Line 17:
event: jb2script.callback.change_category
} );
categoriesoptions.append( {
type: 'option',
label: 'Yes - It can be moved by John Bot II',
Line 23:
value: 'yes'
} );
categoriesoptions.append( {
type: 'option',
label: "No - It can't be moved by John Bot II",
Line 29:
value: 'no'
} );
categoriesoptions.append( {
type: 'option',
label: "Not by a bot - It can't be moved by a robot",
Line 47:
var evt = document.createEvent( "Event" );
evt.initEvent( 'change', true, true );
result.categorymovable.dispatchEvent( evt );
}