www/js/rec_main.js

changeset 524
55a246085522
parent 473
5c7566f6d42a
child 813
752bb80362fb
equal deleted inserted replaced
523:3cccf4392a25 524:55a246085522
49 groupable: true, 49 groupable: true,
50 theme: theme, 50 theme: theme,
51 showstatusbar: true, 51 showstatusbar: true,
52 renderstatusbar: function(statusbar) { 52 renderstatusbar: function(statusbar) {
53 var addButton, container = $("<div style='overflow: hidden; position: relative; margin: 5px;'></div>"); 53 var addButton, container = $("<div style='overflow: hidden; position: relative; margin: 5px;'></div>");
54 addButton = $("<div style='float: right; margin-right: 15px;'><img style='position: relative; margin-top: 2px;' src='images/add.png'/><span style='margin-left: 4px; position: relative; top: -3px;'>Add</span></div>"); 54 addButton = $('<div style="float: right; margin-right: 15px;"><img style="position: relative; margin-top: 2px;" ' +
55 'src="images/add.png"/><span style="margin-left: 4px; position: relative; top: -3px;">Add</span></div>');
55 container.append(addButton); 56 container.append(addButton);
56 statusbar.append(container); 57 statusbar.append(container);
57 addButton.jqxButton({ theme: theme, width: 100, height: 20 }); 58 addButton.jqxButton({ theme: theme, width: 100, height: 20 });
58 // add new recipe. 59 // add new recipe.
59 addButton.click(function(event) { 60 addButton.click(function(event) {

mercurial