branch develop updated (987233f -> 5d0ec30)
This is an automated email from the git hooks/post-receive script. New change to branch develop in repository scmwebeditor. See http://git.nuiton.org/scmwebeditor.git from 987233f Add the display of the last automatic save new 5d0ec30 Fix a javascript error for Chrome browser The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Detailed log of new commits: commit 5d0ec309ba4c6e56e1a275c04f377e7dafbf2556 Author: Hugo PIGEON <hpigeon@codelutin.com> Date: Mon Jun 8 10:37:04 2015 +0200 Fix a javascript error for Chrome browser Summary of changes: swe-ui-web/src/main/webapp/WEB-INF/content/browse.jsp | 2 +- swe-ui-web/src/main/webapp/WEB-INF/content/imageViewer.jsp | 2 +- swe-ui-web/src/main/webapp/WEB-INF/content/modificationViewer.jsp | 2 +- .../src/main/webapp/WEB-INF/content/popups/createDirectoryForm.jsp | 2 +- swe-ui-web/src/main/webapp/WEB-INF/content/popups/moveFileForm.jsp | 4 ++-- .../src/main/webapp/WEB-INF/content/popups/removeDirectoryForm.jsp | 2 +- swe-ui-web/src/main/webapp/WEB-INF/content/popups/removeFileForm.jsp | 2 +- swe-ui-web/src/main/webapp/WEB-INF/content/popups/uploadFileForm.jsp | 2 +- 8 files changed, 9 insertions(+), 9 deletions(-) -- To stop receiving notification emails like this one, please contact nuiton.org SCM administrator <admin+scm@nuiton.org>.
This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository scmwebeditor. See http://git.nuiton.org/scmwebeditor.git commit 5d0ec309ba4c6e56e1a275c04f377e7dafbf2556 Author: Hugo PIGEON <hpigeon@codelutin.com> Date: Mon Jun 8 10:37:04 2015 +0200 Fix a javascript error for Chrome browser --- swe-ui-web/src/main/webapp/WEB-INF/content/browse.jsp | 2 +- swe-ui-web/src/main/webapp/WEB-INF/content/imageViewer.jsp | 2 +- swe-ui-web/src/main/webapp/WEB-INF/content/modificationViewer.jsp | 2 +- .../src/main/webapp/WEB-INF/content/popups/createDirectoryForm.jsp | 2 +- swe-ui-web/src/main/webapp/WEB-INF/content/popups/moveFileForm.jsp | 4 ++-- .../src/main/webapp/WEB-INF/content/popups/removeDirectoryForm.jsp | 2 +- swe-ui-web/src/main/webapp/WEB-INF/content/popups/removeFileForm.jsp | 2 +- swe-ui-web/src/main/webapp/WEB-INF/content/popups/uploadFileForm.jsp | 2 +- 8 files changed, 9 insertions(+), 9 deletions(-) diff --git a/swe-ui-web/src/main/webapp/WEB-INF/content/browse.jsp b/swe-ui-web/src/main/webapp/WEB-INF/content/browse.jsp index 0c62a7d..6d255ee 100644 --- a/swe-ui-web/src/main/webapp/WEB-INF/content/browse.jsp +++ b/swe-ui-web/src/main/webapp/WEB-INF/content/browse.jsp @@ -38,7 +38,7 @@ if (item.length == 1) { var classAttr = item[0].getAttribute("class"); - if (classAttr.contains("jstree-leaf")) { + if (classAttr.indexOf("jstree-leaf") != -1) { var scmType = document.getElementById("scmType").value; var selectedBranch = $("#selectedBranchDisplay").text().trim(); var repositoryRoot = document.getElementById("addressInput").value; diff --git a/swe-ui-web/src/main/webapp/WEB-INF/content/imageViewer.jsp b/swe-ui-web/src/main/webapp/WEB-INF/content/imageViewer.jsp index 4b731ca..f6ecaa5 100644 --- a/swe-ui-web/src/main/webapp/WEB-INF/content/imageViewer.jsp +++ b/swe-ui-web/src/main/webapp/WEB-INF/content/imageViewer.jsp @@ -50,7 +50,7 @@ if (item.length == 1) { var classAttr = item[0].getAttribute("class"); - if (classAttr.contains("jstree-leaf")) { + if (classAttr.indexOf("jstree-leaf") != -1) { var scmType = document.getElementById("scmType").value; var fileExtension = item.attr("id").substr(item.attr("id").lastIndexOf(".") + 1); var actionFile = "edit.action"; diff --git a/swe-ui-web/src/main/webapp/WEB-INF/content/modificationViewer.jsp b/swe-ui-web/src/main/webapp/WEB-INF/content/modificationViewer.jsp index 0a6327b..7ffb3b5 100644 --- a/swe-ui-web/src/main/webapp/WEB-INF/content/modificationViewer.jsp +++ b/swe-ui-web/src/main/webapp/WEB-INF/content/modificationViewer.jsp @@ -108,7 +108,7 @@ if (item.length == 1) { var classAttr = item[0].getAttribute("class"); - if (classAttr.contains("jstree-leaf")) { + if (classAttr.indexOf("jstree-leaf") != -1) { var scmType = document.getElementById("scmType").value; var fileExtension = item.attr("id").substr(item.attr("id").lastIndexOf(".") + 1); var actionFile = "edit.action"; diff --git a/swe-ui-web/src/main/webapp/WEB-INF/content/popups/createDirectoryForm.jsp b/swe-ui-web/src/main/webapp/WEB-INF/content/popups/createDirectoryForm.jsp index a8733f9..8cefa84 100644 --- a/swe-ui-web/src/main/webapp/WEB-INF/content/popups/createDirectoryForm.jsp +++ b/swe-ui-web/src/main/webapp/WEB-INF/content/popups/createDirectoryForm.jsp @@ -49,7 +49,7 @@ if (item.length == 1) { var classAttr = item[0].getAttribute("class"); - if (!classAttr.contains("jstree-leaf")) { + if (!classAttr.indexOf("jstree-leaf") != -1) { window.document.getElementById("parentDirectory").value = item.attr("id"); } } diff --git a/swe-ui-web/src/main/webapp/WEB-INF/content/popups/moveFileForm.jsp b/swe-ui-web/src/main/webapp/WEB-INF/content/popups/moveFileForm.jsp index a9316b0..94fea1b 100644 --- a/swe-ui-web/src/main/webapp/WEB-INF/content/popups/moveFileForm.jsp +++ b/swe-ui-web/src/main/webapp/WEB-INF/content/popups/moveFileForm.jsp @@ -48,7 +48,7 @@ if (item.length == 1) { var classAttr = item[0].getAttribute("class"); - if (classAttr.contains("jstree-leaf")) { + if (classAttr.indexOf("jstree-leaf") != -1) { window.document.getElementById("fileToMove").value = item.attr("id"); } } @@ -61,7 +61,7 @@ if (item.length == 1) { var classAttr = item[0].getAttribute("class"); - if (!classAttr.contains("jstree-leaf")) { + if (!classAttr.indexOf("jstree-leaf") != -1) { window.document.getElementById("destinationDirectory").value = item.attr("id"); } } diff --git a/swe-ui-web/src/main/webapp/WEB-INF/content/popups/removeDirectoryForm.jsp b/swe-ui-web/src/main/webapp/WEB-INF/content/popups/removeDirectoryForm.jsp index 06c8b7d..8232239 100644 --- a/swe-ui-web/src/main/webapp/WEB-INF/content/popups/removeDirectoryForm.jsp +++ b/swe-ui-web/src/main/webapp/WEB-INF/content/popups/removeDirectoryForm.jsp @@ -48,7 +48,7 @@ if (item.length == 1) { var classAttr = item[0].getAttribute("class"); - if (!classAttr.contains("jstree-leaf")) { + if (!classAttr.indexOf("jstree-leaf") != -1) { window.document.getElementById("directoryToRemove").value = item.attr("id"); } } diff --git a/swe-ui-web/src/main/webapp/WEB-INF/content/popups/removeFileForm.jsp b/swe-ui-web/src/main/webapp/WEB-INF/content/popups/removeFileForm.jsp index f1fe9ad..e0001b9 100644 --- a/swe-ui-web/src/main/webapp/WEB-INF/content/popups/removeFileForm.jsp +++ b/swe-ui-web/src/main/webapp/WEB-INF/content/popups/removeFileForm.jsp @@ -48,7 +48,7 @@ if (item.length == 1) { var classAttr = item[0].getAttribute("class"); - if (classAttr.contains("jstree-leaf")) { + if (classAttr.indexOf("jstree-leaf") != -1) { window.document.getElementById("scmPath").value = item.attr("id"); } } diff --git a/swe-ui-web/src/main/webapp/WEB-INF/content/popups/uploadFileForm.jsp b/swe-ui-web/src/main/webapp/WEB-INF/content/popups/uploadFileForm.jsp index 930367a..83b8da3 100644 --- a/swe-ui-web/src/main/webapp/WEB-INF/content/popups/uploadFileForm.jsp +++ b/swe-ui-web/src/main/webapp/WEB-INF/content/popups/uploadFileForm.jsp @@ -49,7 +49,7 @@ if (item.length == 1) { var classAttr = item[0].getAttribute("class"); - if (!classAttr.contains("jstree-leaf")) { + if (!classAttr.indexOf("jstree-leaf") != -1) { window.document.getElementById("scmPath").value = item.attr("id"); } } -- To stop receiving notification emails like this one, please contact nuiton.org SCM administrator <admin+scm@nuiton.org>.
participants (1)
-
nuiton.org scm