Commit 2fbc5fd7 authored by Gabriel Monnerat's avatar Gabriel Monnerat

- fix javascript code.

- clean up css

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@42358 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 9fb5ee81
...@@ -148,7 +148,7 @@ $().ready(function(){\n ...@@ -148,7 +148,7 @@ $().ready(function(){\n
}\n }\n
});\n });\n
if ($("div.gadget-column").length == 1) {\n if ($("div.gadget-column").length == 1) {\n
$("a.domain_selected").text($("a.tree-open").text());\n $("a.domain_selected").text($("a.tree-open:last").text());\n
var listboxTreeHeight = $("div.listbox-tree").css("height").replace("px", "");\n var listboxTreeHeight = $("div.listbox-tree").css("height").replace("px", "");\n
var domainTreeHeight = $("div.listbox-domain-tree-container").css("height").replace("px", "");\n var domainTreeHeight = $("div.listbox-domain-tree-container").css("height").replace("px", "");\n
if (parseInt(listboxTreeHeight) > parseInt(domainTreeHeight)){\n if (parseInt(listboxTreeHeight) > parseInt(domainTreeHeight)){\n
...@@ -183,7 +183,8 @@ $().ready(function(){\n ...@@ -183,7 +183,8 @@ $().ready(function(){\n
event.preventDefault();\n event.preventDefault();\n
herfList = this.getAttribute("href").split("?");\n herfList = this.getAttribute("href").split("?");\n
action_name = herfList[herfList.length-1].split("=")[1];\n action_name = herfList[herfList.length-1].split("=")[1];\n
$.ajax({url: "Base_changeWorkflowState", \n $.ajax({\n
url: "Base_changeWorkflowState", \n
data: "action_name=" + action_name,\n data: "action_name=" + action_name,\n
success: function(){\n success: function(){\n
window.location.reload();\n window.location.reload();\n
......
...@@ -442,11 +442,6 @@ div.bottom_actions button {\n ...@@ -442,11 +442,6 @@ div.bottom_actions button {\n
display:none;\n display:none;\n
}\n }\n
\n \n
div.jSheetControls#jSheetControls_0 {\n
margin-top: 5px;\n
}\n
\n
\n
div.toolbar button, div.gadget-action input#upload {\n div.toolbar button, div.gadget-action input#upload {\n
color: #333333;\n color: #333333;\n
border: 1px solid #BBBBBB;\n border: 1px solid #BBBBBB;\n
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment