From 00a42575931a065deb84f73659f48fc456d58801 2013-01-26 10:05:35 From: Matthias BUSSONNIER Date: 2013-01-26 10:05:35 Subject: [PATCH] min and default for engine number --- diff --git a/IPython/frontend/html/notebook/static/js/clusterlist.js b/IPython/frontend/html/notebook/static/js/clusterlist.js index 2707d0f..2808bbf 100644 --- a/IPython/frontend/html/notebook/static/js/clusterlist.js +++ b/IPython/frontend/html/notebook/static/js/clusterlist.js @@ -103,8 +103,11 @@ var IPython = (function (IPython) { var profile_col = $('').addClass('profile_col').text(this.data.profile); var status_col = $('').addClass('status_col').html('stopped'); var engines_col = $('').addClass('engines_col'); - var input = $('').attr('type','number'). - attr('size',3).addClass('engine_num_input'); + var input = $('').attr('type','number') + .attr('min',1) + .attr('value',2) + .attr('size',3) + .addClass('engine_num_input'); engines_col.append(input); var action_col = $('').addClass('action_col'); var start_button = $('').button();