Changes

Jump to navigation Jump to search
m
no edit summary
Line 41: Line 41:  
textInput = [];
 
textInput = [];
   −
var extrafield = Object.keys(result[orig]).length;
+
var extrafield = Object.keys(result[orig]).length || 0;
    
button_save[ extrafield ] = new OO.ui.ButtonWidget( { label: "Save", classes: "pddh" } );
 
button_save[ extrafield ] = new OO.ui.ButtonWidget( { label: "Save", classes: "pddh" } );
530

edits

Navigation menu