[ Index ]
 

Code source de Kupu-1.3.5

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/plone/kupu_plone_layer/ -> kupusaveonpart.js (source)

   1  /*****************************************************************************
   2   *
   3   * Copyright (c) 2003-2005 Kupu Contributors. All rights reserved.
   4   *
   5   * This software is distributed under the terms of the Kupu
   6   * License. See LICENSE.txt for license text. For a list of Kupu
   7   * Contributors see CREDITS.txt.
   8   *
   9   *****************************************************************************/
  10  
  11  // $Id: kupusaveonpart.js 9879 2005-03-18 12:04:00Z yuppie $
  12  
  13  function saveOnPart(evt) {
  14      /* ask the user if (s)he wants to save the document before leaving */
  15      if (!evt) evt = window.event;
  16      if (kupu.content_changed) {
  17          var msg = 'You have unsaved changes in Kupu.';
  18          if (evt) {
  19              evt.returnValue = msg;
  20          }
  21          return msg;
  22      };
  23  };


Généré le : Sun Feb 25 15:30:41 2007 par Balluche grâce à PHPXref 0.7