[ Index ]

PHP Cross Reference of Drupal 6 (yi-drupal)

title

Body

[close]

/sites/all/modules/vertical_tabs/core/ -> book.js (source)

   1  // $Id: book.js,v 1.1.2.1 2009/12/09 01:08:39 davereid Exp $
   2  
   3  Drupal.verticalTabs = Drupal.verticalTabs || {};
   4  
   5  Drupal.verticalTabs.book = function() {
   6    var text = $('#edit-book-bid option[selected]').text();
   7    if (text == Drupal.t('<none>')) {
   8      return Drupal.t('Not in book');
   9    }
  10    else if (text == Drupal.t('<create a new book>')) {
  11      return Drupal.t('New book');
  12    }
  13    return text;
  14  }


Generated: Mon Jul 9 18:01:44 2012 Cross-referenced by PHPXref 0.7