[ckan-changes] [ckan/ckan] fd00b4: [#1703] Fix bug when uploading resources

GitHub noreply at github.com
Wed May 7 20:02:31 UTC 2014


  Branch: refs/heads/1703-error-when-uploading-resource
  Home:   https://github.com/ckan/ckan
  Commit: fd00b4beca1d8dc88150b84f94b6f1443d44f148
      https://github.com/ckan/ckan/commit/fd00b4beca1d8dc88150b84f94b6f1443d44f148
  Author: Vitor Baptista <vitor at vitorbaptista.com>
  Date:   2014-05-07 (Wed, 07 May 2014)

  Changed paths:
    M ckan/public/base/javascript/modules/image-upload.js

  Log Message:
  -----------
  [#1703] Fix bug when uploading resources

The problem was that we used to set the URL input as "disabled", which caused
the browser not to send its value when submitting the FORM. The solution is
simple: use "readonly" instead.




More information about the ckan-changes mailing list