public/javascripts/webhookit/editor/wiring_editor.js
function() {
      webhookit.WiringEditor.superclass.renderButtons.call(this);

      var toolbar = YAHOO.util.Dom.get('toolbar');

		
      var editTemplateButton = new YAHOO.widget.Button({ label:"Edit template", id:"WiringEditor-templateButton", container: toolbar });
      editTemplateButton.on("click", webhookit.editTemplateButton, webhookit, true);

		// "Run" button
      var runButton = new YAHOO.widget.Button({ label:"Run", id:"WiringEditor-runButton", container: toolbar });
      runButton.on("click", webhookit.run, webhookit, true);

   }
function() {
      webhookit.WiringEditor.superclass.renderButtons.call(this);

      var toolbar = YAHOO.util.Dom.get('toolbar');

		
      var editTemplateButton = new YAHOO.widget.Button({ label:"Edit template", id:"WiringEditor-templateButton", container: toolbar });
      editTemplateButton.on("click", webhookit.editTemplateButton, webhookit, true);

		// "Run" button
      var runButton = new YAHOO.widget.Button({ label:"Run", id:"WiringEditor-runButton", container: toolbar });
      runButton.on("click", webhookit.run, webhookit, true);

   }
function ( ) { webhookit . WiringEditor . superclass . renderButtons . call ( this ) ; var toolbar = YAHOO . util . Dom . get ( 'toolbar' ) ; var editTemplateButton = new YAHOO . widget . Button ( { label : "Edit template" , id : "WiringEditor-templateButton" , container : toolbar } ) ; editTemplateButton . on ( "click" , webhookit . editTemplateButton , webhookit , true ) ; // "Run" button var runButton = new YAHOO . widget . Button ( { label : "Run" , id : "WiringEditor-runButton" , container : toolbar } ) ; runButton . on ( "click" , webhookit . run , webhookit , true ) ; }
Add Some buttons
Add Some buttons