Closed (fixed)
Project:
Editable Fields
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
20 Sep 2011 at 18:19 UTC
Updated:
13 Jul 2012 at 06:56 UTC
Jump to comment: Most recent file
Comments
Comment #1
damien tournoud commentedThis is the job of CSS... we could include a generic CSS in the module, if someone wants to contribute one :)
Comment #2
murzSeems that in 6.x-1.2 this done not with css only, but with javascript in editablefields.js:
Maybe we can reuse this code?
Comment #3
dags commentedHere's a first attempt. It adds an instance setting for "Click to edit style". The CSS is a work in progress, especially since the D6 was a link and this is a button.
Comment #4
tim.plunkettI'm not sure which is easier, making a link behave like a submit button, or making a button look like a link.
And that depends on how closely this should mimic D6.
Comment #5
tim.plunkettAddressed an issue with #states/#dependency for the Views UI.
Comment #6
tim.plunkettI have a new patch for this but I left it on my work VM so it'll have to wait until tomorrow morning.
Comment #7
tim.plunkettAdds a link with JS that triggers the submit button. Props to xjm for the suggestion.
Comment #8
Steven.Pescador commentedWorked a treat for me! Cheers Tim & xjm.
Comment #9
bfr commentedGreat job! I added a little fade there to make it look nicer.
Comment #10
bfr commentedAny chances to to get this commited? I hate to have patched modules in the clients site.
Comment #11
dags commentedThanks! Committed.
http://drupalcode.org/project/editablefields.git/commit/3d21d4b
Comment #13
murzAs alternative we can use this module: http://drupal.org/project/editablefields_as_link