Commit e4d2ae1a authored by Łukasz Nowak's avatar Łukasz Nowak

Initiate styling of request form.

parent c55077e4
......@@ -8,7 +8,7 @@
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts21634272.59</string> </value>
<value> <string>ts21634709.02</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
......@@ -88,7 +88,8 @@ function softwareReleaseController() {\n
drawSoftwareReleaseList);\n
}\n
\n
function processRequest() {\n
function processRequest(event) {\n
event.preventDefault();\n
computer = $(\'#computer\').val();\n
url = $(\'#url\').val();\n
title = $(\'#software_instance_title\').val();\n
......@@ -152,8 +153,9 @@ function drawRequest(data) {\n
html += \' url: \' + data.url;\n
summary.html(html)\n
js_container.append(summary);\n
request = $(\'<input type="button">\');\n
request.attr(\'value\', \'Request\');\n
request = $(\'<button>\');\n
request.append($(\'<span>\').html(\'Request\'));\n
request.addClass(\'software_release_search\');\n
request.click(processRequest);\n
js_container.append(request);\n
}\n
......@@ -213,7 +215,7 @@ function hashController ()\n
</item>
<item>
<key> <string>size</string> </key>
<value> <int>5244</int> </value>
<value> <int>5320</int> </value>
</item>
<item>
<key> <string>title</string> </key>
......
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