Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F4658
patch.txt
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
•
bzimport
Nov 21 2014, 10:03 PM
2014-11-21 22:03:27 (UTC+0)
Size
1 KB
Referenced Files
None
Subscribers
None
patch.txt
View Options
Index: /home/lrbabe/workspace/Quiz/Quiz.php
===================================================================
--- /home/lrbabe/workspace/Quiz/Quiz.php (revision 31219)
+++ /home/lrbabe/workspace/Quiz/Quiz.php (working copy)
@@ -765,7 +765,7 @@
$state = "error";
} else {
if($this->mBeingCorrected) {
- $value = trim($this->mRequest->getVal($wqInputId));
+ $value = trim($this->mRequest->getVal("q".$wqInputId));
$a_inputBeg = "<a class=\"input\" href=\"#nogo\"><span class=\"correction\">";
$state = "NA";
$title = "title=\"".wfMsgHtml('quiz_colorNA')."\"";
@@ -830,6 +830,6 @@
$title = "title=\"".wfMsgHtml('quiz_colorError')."\"";
}
}
- return $output = "$a_inputBeg<span $style><input $class type=\"text\" name=\"$wqInputId\" $title $size $maxlength $value $disabled autocomplete=\"off\" />$big</span>$a_inputEnd";
+ return $output = "$a_inputBeg<span $style><input $class type=\"text\" name=\"q$wqInputId\" $title $size $maxlength $value $disabled autocomplete=\"off\" />$big</span>$a_inputEnd";
}
}
File Metadata
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4223
Default Alt Text
patch.txt (1 KB)
Attached To
Mode
T15074: Quiz extension text responses not markable in MW1.12a
Attached
Detach File
Event Timeline
Log In to Comment