[ckan-changes] [okfn/ckan] 7f0ce2: [#1449] Fix extras deletion

GitHub noreply at github.com
Tue Jan 28 15:23:18 UTC 2014


  Branch: refs/heads/release-v2.0.4
  Home:   https://github.com/okfn/ckan
  Commit: 7f0ce2d2053231831a591cd471fb9d5ffd4d5d95
      https://github.com/okfn/ckan/commit/7f0ce2d2053231831a591cd471fb9d5ffd4d5d95
  Author: amercader <amercadero at gmail.com>
  Date:   2014-01-28 (Tue, 28 Jan 2014)

  Changed paths:
    M ckan/public/base/javascript/modules/custom-fields.js

  Log Message:
  -----------
  [#1449] Fix extras deletion

The custom-fields module was actually disabling the fields when clicking
the delete extra cross button. This prevented the key and value from
being sent, which caused a validation error.
We now change only the class to make it look disabled, which should be
good enough.


  Commit: b9af86e314dbeddb1abf8d2588eaace5a541561e
      https://github.com/okfn/ckan/commit/b9af86e314dbeddb1abf8d2588eaace5a541561e
  Author: amercader <amercadero at gmail.com>
  Date:   2014-01-28 (Tue, 28 Jan 2014)

  Changed paths:
    M ckan/public/base/test/spec/modules/custom-fields.spec.js

  Log Message:
  -----------
  [#1449] Remove unneeded tests


Compare: https://github.com/okfn/ckan/compare/b1b4124e01cd...b9af86e314db


More information about the ckan-changes mailing list