Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 22920 invoked from network); 7 Jul 2007 12:59:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Jul 2007 12:59:27 -0000 Received: (qmail 47622 invoked by uid 500); 7 Jul 2007 12:59:29 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 47311 invoked by uid 500); 7 Jul 2007 12:59:28 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@cocoon.apache.org List-Id: Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 47296 invoked by uid 99); 7 Jul 2007 12:59:28 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 07 Jul 2007 05:59:28 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 07 Jul 2007 05:59:24 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id B20697141EB for ; Sat, 7 Jul 2007 05:59:04 -0700 (PDT) Message-ID: <20427756.1183813144720.JavaMail.jira@brutus> Date: Sat, 7 Jul 2007 05:59:04 -0700 (PDT) From: "Grzegorz Kossakowski (JIRA)" To: dev@cocoon.apache.org Subject: [jira] Closed: (COCOON-2059) ajax/common.js makes use of deprecated dojo.animation.Timer In-Reply-To: <17833649.1178632155756.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/COCOON-2059?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Grzegorz Kossakowski closed COCOON-2059. ---------------------------------------- Resolution: Fixed Applied in r554196. Please cross check and reopen if something is wrong. > ajax/common.js makes use of deprecated dojo.animation.Timer > ----------------------------------------------------------- > > Key: COCOON-2059 > URL: https://issues.apache.org/jira/browse/COCOON-2059 > Project: Cocoon > Issue Type: Bug > Components: Blocks: Ajax > Affects Versions: 2.1.11-dev (Current SVN), 2.2-dev (Current SVN) > Reporter: Alexander Klimetschek > Assignee: Grzegorz Kossakowski > > Following code uses deprecated stuff from dojo 0.4.1: > periodicalUpdate: function(delay, href, target, insertion) { > dojo.require("dojo.animation.Timer"); > var timer = new dojo.animation.Timer(delay); > timer.onTick = function() { > .... > Dojo in debug mode says: DEPRECATED: dojo.animation.Timer is now dojo.lang.timing.Timer 0.5 > To fix that, one should simply use: > periodicalUpdate: function(delay, href, target, insertion) { > dojo.require("dojo.lang.timing.Timer"); > var timer = new dojo.lang.timing.Timer(delay); -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.