Well, this is strange. I added a new function to my existing controller...
just a simple thing...
def customerdisplay(cust):
customer = db(db.customers.customer_id == cust).select()
return dict(customer=customer)
now it doesn't show that it is exposed, and if i try to access it, I get
"invalid function".
On Monday, September 24, 2012 4:32:53 PM UTC-7, Derek wrote:
>
> You don't suppose the if-not-modified tag isn't working?
>
> On Monday, September 24, 2012 4:32:28 PM UTC-7, Derek wrote:
>>
>> Well, I checked and it was there. I cleared my cache in google chrome and
>> I got the new file. It's saving now. Thanks!
>>
>> On Monday, September 24, 2012 4:26:23 PM UTC-7, Massimo Di Pierro wrote:
>>>
>>> Is this in your ajax_editor.js:36?
>>>
>>>
>>> https://github.com/web2py/web2py/blob/master/applications/admin/static/js/ajax_editor.js#L36
>>>
>>> Does not look there a variable "area". Perhaps this file was not
>>> upgraded?
>>>
>>> Massimo
>>>
>>>
>>>
>>> On Monday, 24 September 2012 18:19:38 UTC-5, Derek wrote:
>>>>
>>>> Update - downloaded the nightly, same issue exists.
>>>>
>>>> On Monday, September 24, 2012 4:11:33 PM UTC-7, Derek wrote:
>>>>>
>>>>> I get an error message now when I click the 'save' button. I'm using
>>>>> the codemirror editor. It says:
>>>>>
>>>>> Uncaught ReferenceError: area is not defined -- ajax_editor.js:36
>>>>>
>>>>> It was working in 2.0.6 - all I did was download the 2.0.9 source and
>>>>> overwrite everything.
>>>>>
>>>>> Any ideas?
>>>>>
>>>>
--