[Fusionforge-commits] FusionForge branch master updated. cb86105129b6b2e3cfdef000ca2c14f9945a8ac1

Alain Peyrat aljeux at fusionforge.org
Fri Jun 28 11:01:45 CEST 2013


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".

The branch, master has been updated
       via  cb86105129b6b2e3cfdef000ca2c14f9945a8ac1 (commit)
      from  50d8d1bf633bbc12e04cddc310bcaa39b3d08009 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit cb86105129b6b2e3cfdef000ca2c14f9945a8ac1
Author: Alain Peyrat <alain.peyrat at alcatel-lucent.com>
Date:   Sun Jun 23 08:20:14 2013 +0200

    Use id for selecting tabs - should fix ff test suite

diff --git a/src/common/docman/views/additem.php b/src/common/docman/views/additem.php
index 7eaaefe..7db7990 100644
--- a/src/common/docman/views/additem.php
+++ b/src/common/docman/views/additem.php
@@ -54,11 +54,11 @@ jQuery(document).ready(function() {
 
 <div id="tabs">
 <ul>
-<li><a href="#tabs-new-document" class="tabtitle" title="<?php echo _('Submit a new document in this folder.') ?>">
+<li><a id="tab-new-document" href="#tabs-new-document" class="tabtitle" title="<?php echo _('Submit a new document in this folder.') ?>">
     <?php echo _('New Document') ?></a></li>
-<li><a href="#tabs-new-folder" class="tabtitle" title="<?php echo _('Create a folder based on this name.') ?>">
+<li><a id="tab-new-folder" href="#tabs-new-folder" class="tabtitle" title="<?php echo _('Create a folder based on this name.') ?>">
     <?php echo _('New Folder') ?></a></li>
-<li><a href="#tabs-inject-tree" class="tabtitle" title="<?php echo _('Create a full folders tree using an compressed archive. Only zip format support.') ?>">
+<li><a id="tab-inject-tree" href="#tabs-inject-tree" class="tabtitle" title="<?php echo _('Create a full folders tree using an compressed archive. Only zip format support.') ?>">
     <?php echo _('Inject Tree') ?></a></li>
 </ul>
 
diff --git a/tests/func/Docs/createDocURLTest.php b/tests/func/Docs/createDocURLTest.php
index 6fa8ab6..e48fdf1 100644
--- a/tests/func/Docs/createDocURLTest.php
+++ b/tests/func/Docs/createDocURLTest.php
@@ -52,11 +52,11 @@ class CreateDocURL extends FForge_SeleniumTestCase
 		$this->gotoProject('ProjectA');
 		$this->clickAndWait("link=Docs");
 		$this->clickAndWait("addItemDocmanMenu");
-		$this->click("id=tabs-new-folder");
+		$this->click("id=tab-new-folder");
 		$this->type("groupname", "docdirectory");
 		$this->clickAndWait("submitaddsubgroup");
 		$this->clickAndWait("addItemDocmanMenu");
-		$this->click("id=tabs-new-document");
+		$this->click("id=tab-new-document");
 		$this->type("title", "My document");
 		$this->type("//input[@name='description']", "L'année dernière à Noël, 3 < 4, 中国 \" <em>, père & fils");
 		$this->click("//input[@name='type' and @value='pasteurl']");

-----------------------------------------------------------------------

Summary of changes:
 src/common/docman/views/additem.php  |    6 +++---
 tests/func/Docs/createDocURLTest.php |    4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list