Form:Metadata Fusaria Autographice Delineata Wollenweber

From OpenMedia
Revision as of 20:03, 7 April 2015 by GLOPP importer (Talk | contribs)

Jump to: navigation, search

This is a special “Metadata” form for inserting general Metadata (for template: Metadata) and template: Metadata Fusaria Autographice Delineata Wollenweber. It is defined on the medai page itself. To add a page with this form, enter the page name below; if a page with that name already exists, you will be sent to a form to edit that page.

 


Technical dependencies

JavaScript

/**
 * @description create jQuery UI Tabs on CSS class="use-jquery-ui-tabs" Used for Form:Metadata/Metadata_Fusaria_Autographice_Delineata_Wollenweber
 * 
 * @requires https://www.mediawiki.org/wiki/Extension:Semantic_Forms
 * @requires jQuery-UI mw.loader.using( 'jquery.ui.tabs', function () {});
 * @returns {undefined}
 */
function initUiTabsInForms() {
  console.log("initUiTabsInForms");
  var use_jquery_ui_tabs= $(".use-jquery-ui-tabs");
  var use_jquery_ui_tabs_vertical= $(".use-jquery-ui-tabs-vertical");
  if (use_jquery_ui_tabs.length || use_jquery_ui_tabs_vertical.length) {
    mw.loader.using( 'jquery.ui.tabs', function () {
      var use_jquery_ui_tabs= $(".use-jquery-ui-tabs");// Google Chrome Fix
      var use_jquery_ui_tabs_vertical= $(".use-jquery-ui-tabs-vertical");// Google Chrome Fix
      console.log("initUiTabsInForms mw.loader.using");
      if ($(".use-jquery-ui-tabs").length) {
        $(".use-jquery-ui-tabs").tabs({event: "mouseover"});
        console.log("initUiTabsInForms tabs");
      }
      if (use_jquery_ui_tabs_vertical.length) {
        use_jquery_ui_tabs_vertical.tabs({event: "mouseover"}).addClass( "ui-tabs-vertical ui-helper-clearfix" );
        use_jquery_ui_tabs_vertical.find( "li" ).removeClass( "ui-corner-top" ).addClass( "ui-corner-left" );
        console.log("initUiTabsInForms tabs_vertical");
      }
    });
  }
}