5

I have a very simple VF page (below) but it does not really support Inline Editing. When I double-click a field that should accept editing (with a pencil icon), the Save/Cancel buttons show up but the text-box does not show up. Picklists, Lookups, check-boxes also do not work.

Beyond that, when I press Save, nothing happens. The Save button goes light-grey but no actions take place. The Cancel button works.

Is there a step I am missing that will actually activate inline editing or have I found a bug?

Note: The standard view page on the same Opportunity works as expected.

Note: Within the JS console, these two errors are displayed:

Uncaught TypeError: Cannot read property 'Tab' of undefined main.js:1002 Uncaught TypeError: Cannot read property 'Icons' of undefined

<apex:page standardController="Opportunity">
   <apex:detail subject="{!Opportunity}" inlineEdit="true" /> 
</apex:page>
  • Where are you viewing the page? Standard UI? Service Console? Portal? – JimRae Feb 1 '14 at 12:56
  • I am viewing it via c.cs10.visual.force.com/apex/… – UserIsStuck Feb 1 '14 at 13:37
  • 1
    I created the exact page you present above, and it works perfectly. Is there any other code in your version? – Jason Clark Feb 1 '14 at 13:41
  • The code is posted is exactly what I am testing with. It was more complex before but I stripped it down to its bare bones to try to troubleshoot it. – UserIsStuck Feb 1 '14 at 14:13
  • 1
    Try clearing cache ("Clear browsing data...", "Empty the cache" in Chrome) and logging in to a fresh session. – Jason Clark Feb 1 '14 at 17:08
1

can you try give name to text control and buttons both the id and the name attributes. for example,

most browsers looking for both id and name for a form control

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.