mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #12384
[Bug 1052428] Re: Javascript issue on /artefact/file/profileicons.php
** Changed in: mahara
Importance: High => Medium
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contrib members
https://bugs.launchpad.net/bugs/1052428
Title:
Javascript issue on /artefact/file/profileicons.php
Status in Mahara ePortfolio:
In Progress
Bug description:
/artefact/file/profileicons.php
reported for 1.5dev
When clicking the Upload button, it redirects to a new page with <body
onLoad="sendResult();"></body>
The sendResult method is as follows:
function sendResult() {
parent.pieformHandlers["upload"]({"message":"Your profile picture has
been uploaded to your 'images'
folder.","returnCode":0,"replaceHTML":"<form class=\"pieform\"
name=\"upload\" method=\"post\" action=\"\" id=\"upload\"
enctype=\"multipart\/form-data\">\n<table
cellspacing=\"0\"><tbody>\n\t<tr id=\"upload_file_container\"
class=\"required file\">\n\t\t<th><label for=\"upload_file\">Profile
Picture<\/label> <span
class=\"requiredmarker\">*<\/span><\/th>\n\t\t<td><input
type=\"hidden\" name=\"MAX_FILE_SIZE\" value=\"209715200\"\/><input
type=\"file\" class=\"required file autofocus\" id=\"upload_file\"
name=\"file\" tabindex=\"2\"><\/td>\n\t<\/tr>\n\t<tr
id=\"upload_title_container\" class=\"text\">\n\t\t<th><label
for=\"upload_title\">Image Title<\/label><\/th>\n\t\t<td><input
type=\"text\" class=\"text\" id=\"upload_title\" name=\"title\"
tabindex=\"2\" value=\"fdh\"><\/td>\n\t<\/tr>\n\t<tr
id=\"upload_submit_container\"
class=\"submit\">\n\t\t<th><\/th>\n\t\t<td><input type=\"submit\"
class=\"submit\" id=\"upload_submit\" name=\"submit\" tabindex=\"2\"
value=\"Upload\"><\/td>\n\t<\/tr>\n<\/tbody><\/table>\n<input
type=\"hidden\" class=\"hidden\" id=\"upload_sesskey\"
name=\"sesskey\" value=\"ogvAwW0IXKU62L13\">\n<input type=\"hidden\"
name=\"pieform_upload\" value=\"\">\n<\/form>\n"}); }
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1052428/+subscriptions
References