2
0
Эх сурвалжийг харах

Editor: Placeholder for Publish.

Mr.doob 11 жил өмнө
parent
commit
776a9bb9ea

+ 15 - 1
editor/js/Menubar.File.js

@@ -182,10 +182,12 @@ Menubar.File = function ( editor ) {
 	} );
 	options.add( option );
 
-	/*
+	//
 
 	options.add( new UI.HorizontalRule() );
 
+	/*
+
 	// Test
 
 	var option = new UI.Panel();
@@ -200,6 +202,18 @@ Menubar.File = function ( editor ) {
 	options.add( option );
 	*/
 
+	// Publish
+
+	var option = new UI.Panel();
+	option.setClass( 'option' );
+	option.setTextContent( 'Publish' );
+	option.onClick( function () {
+
+		alert( 'Not yet...' );
+
+	} );
+	options.add( option );
+
 
 	//