remove mismatched html tags
[fnpeditor.git] / src / editor / modules / rng / rng.js
index fc82fc8..f933ec1 100644 (file)
@@ -16,11 +16,11 @@ return function(sandbox) {
     /* globals gettext */
 
     var logger = logging.getLogger('editor.modules.rng');
-    
+
     function addMainTab(title, slug, view) {
-        views.mainTabs.addTab(title, slug, view);
+        views.mainTabs.addTab(title, slug, view, sandbox.getTutorialItem(slug));
     }
-     
+
     var commands = {
         refreshCanvasSelection: function(selection) {
             var fragment = selection.toDocumentFragment();
@@ -30,7 +30,7 @@ return function(sandbox) {
     
 
     var views = {
-        mainLayout: new layout.Layout(mainLayoutTemplate),
+        mainLayout: new layout.Layout(mainLayoutTemplate, sandbox.getTutorialItem('statusBar')),
         mainTabs: (new tabs.View()).render(),
         visualEditing: new layout.Layout(visualEditingLayoutTemplate),
         diffLayout: new layout.Layout(diffLayoutTemplate)