Log In
Log In
Places
All Projects
Status Monitor
Collapse sidebar
obs:server:fedora:2.6
phantomjs
phantomjs-2.0.0-fileupload.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File phantomjs-2.0.0-fileupload.patch of Package phantomjs
diff --git a/src/qt/qtwebkit/Source/WebCore/html/FileInputType.cpp b/src/qt/qtwebkit/Source/WebCore/html/FileInputType.cpp index 7362f63..1a7b148 100644 --- a/src/qt/qtwebkit/Source/WebCore/html/FileInputType.cpp +++ b/src/qt/qtwebkit/Source/WebCore/html/FileInputType.cpp @@ -187,8 +187,9 @@ void FileInputType::handleDOMActivateEvent(Event* event) if (element()->isDisabledFormControl()) return; - if (!ScriptController::processingUserGesture()) - return; + // PATCH related to #12506 - commented out to allow programmatic form file uploads + //if (!ScriptController::processingUserGesture()) + // return; if (Chrome* chrome = this->chrome()) { FileChooserSettings settings;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Contact
Support
@OBShq
The Open Build Service is an
openSUSE project
.
Log In
Places
Places
All Projects
Status Monitor