Development

Changeset 5296 for plugins/sfPrototypeTooltipPlugin

You must first sign up to be able to contribute.

Show
Ignore:
Timestamp:
09/27/07 01:48:13 (6 years ago)
Author:
dwhittle
Message:

dwhittle: updated sfPrototypeTooltipPlugin

  • fixed paths to js
  • removes empty config
    • updated tooltip.js
  • updated version / package
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plugins/sfPrototypeTooltipPlugin/lib/helper/TooltipHelper.php

    r3769 r5296  
    2121 */ 
    2222 
     23  $sf_prototype_web_dir = sfConfig::get('sf_prototype_web_dir', '/sf/prototype'); 
     24 
    2325  $request = sfContext::getInstance()->getResponse(); 
    24   $request->addJavascript(sfConfig::get('sf_prototype_web_dir').'/prototype'); 
    25   $request->addJavascript(sfConfig::get('sf_prototype_web_dir').'/scriptaculous'); 
    26   $request->addJavascript(sfConfig::get('sf_prototype_web_dir').'/effects'); 
     26  $request->addJavascript($sf_prototype_web_dir.'/js/prototype'); 
     27  $request->addJavascript($sf_prototype_web_dir.'/js/scriptaculous'); 
     28  $request->addJavascript($sf_prototype_web_dir.'/js/effects'); 
    2729  $request->addJavascript('/sfPrototypeTooltipPlugin/js/tooltip'); 
    2830 
  • plugins/sfPrototypeTooltipPlugin/package.xml

    r2858 r5296  
    1111  <active>yes</active> 
    1212 </lead> 
    13  <date>2006-11-29</date> 
     13 <date>2007-09-26</date> 
    1414 <version> 
    15    <release>1.0.1</release> 
    16    <api>1.0.0</api> 
     15   <release>1.0.2</release> 
     16   <api>1.0.2</api> 
    1717 </version> 
    1818 <stability> 
  • plugins/sfPrototypeTooltipPlugin/web/js/tooltip.js

    r2830 r5296  
    465465    } 
    466466 
    467     // Make sure the Tooltip doesn't go off the page. The 1.2 comes from Trial and error.  
     467    // Make sure the Tooltip doesn't go off the page. The 1.2 comes from Trial and error. 
    468468    // We don't track the height, its possible (and much more common) that the height of an item will be more than the browser pane 
    469469    if ((left + parseInt(tooltipWidth)) > winWidth) {