/[drupal]/contributions/modules/node_expire/node_expire.js
ViewVC logotype

Diff of /contributions/modules/node_expire/node_expire.js

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.2, Thu Jan 29 21:01:33 2009 UTC revision 1.3, Thu Jan 29 21:02:05 2009 UTC
# Line 1  Line 1 
1  // $Id: node_expire.js,v 1.1 2009/01/26 23:56:49 brmassa Exp $  // $Id: $
2    
3  Drupal.behaviors.nodeExpire = function(context) {  Drupal.behaviors.nodeExpire = function(context) {
 //   var min = new Date(Drupal.settings.minDate[0], Drupal.settings.minDate[1], Drupal.settings.minDate[3]);  
4    var max = Drupal.settings.maxDate;    var max = Drupal.settings.maxDate;
5    if (max) {    if (max) {
6      max = new Date(max[0], max[1] -1, max[2]);      max = new Date(max[0], max[1] -1, max[2]);

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.2