~ubuntu-branches/ubuntu/raring/webcalendar/raring

« back to all changes in this revision

Viewing changes to includes/js/set_entry_cat.php

  • Committer: Bazaar Package Importer
  • Author(s): Rafael Laboissiere
  • Date: 2009-06-09 06:26:24 UTC
  • mfrom: (18.2.3 karmic)
  • Revision ID: james.westby@ubuntu.com-20090609062624-9n9xea2ftpipmg38
Tags: 1.2.0+dfsg-4
* debian/patches/06_send-reminder-paths.diff: Adjust patch to help
  translate.php to find the translation files under /etc/webcalendar.
  Thanks to Dale and Cheryl Schroeder for the help on debugging this
  (really, closes: #531312).
* debian/patches/16_no-blink-public-access-title.diff: New patch for
  avoiding the blinking title when changing the Public Access title in
  English-US.txt

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?php /* $Id: set_entry_cat.php,v 1.8 2007/07/23 23:25:10 bbannon Exp $  */ ?>
 
2
function editCats (  evt ) {
 
3
  if (document.getElementById) {
 
4
    mX = evt.clientX   +150;
 
5
    mY = evt.clientY  + 150;
 
6
  }
 
7
  else {
 
8
    mX = evt.pageX  +150;
 
9
    mY = evt.pageY + 150;
 
10
  }
 
11
  var MyPosition = 'scrollbars=no,toolbar=no,left=' + mX + ',top=' + mY + ',screenx=' + mX + ',screeny=' + mY;
 
12
  var cat_ids = document.selectcategory.elements['cat_id'].value;
 
13
  url = "catsel.php?form=selectcategory&cats=" + cat_ids;
 
14
  var catWindow = window.open (url,"EditCat","width=385,height=250,"  + MyPosition);
 
15
}
 
16