[ Index ]

PHP Cross Reference of Yamoon 0.9.0

title

Body

[close]

/ -> yamoon.js (source)

   1  /**
   2    * Yamoon.js - All JS helpers for Yamoon's interface automation.
   3    */
   4  
   5  /**
   6    * Redirect the current page using this.location.
   7    */
   8  function redirect (page) {
   9      this.location = page;
  10      return true;
  11  }
  12  
  13  /**
  14    * Show a confirmation window for deletes
  15    */
  16  function confirmDelete (type, name) {
  17      var text = "Are you sure you want to delete the " + type + " '" + name + "'?";
  18      return confirm(text);
  19  }


Generated: Sat Feb 19 17:29:53 2005 Cross-referenced by PHPXref 0.6