[jQuery] Re: jEditable issue in Firefox 2.0.0.13

2008-04-15 Thread [EMAIL PROTECTED]

Hi Mika,

Did you have any thoughts on what might be caugsing the conflict?

Regards,
Steve

On Apr 8, 8:43 pm, Mika Tuupola [EMAIL PROTECTED] wrote:
 On Apr 8, 2008, at 8:55 PM, [EMAIL PROTECTED] wrote:



  Thanks, but I think you missed the problem. 'Editable item' does work,
  but 'Editable tab 3' doesn't. The reason I included both a standard ul
  and tabs one controlled by UI in example was to prove there's nothing
  wrong with the editable() command (as they both have the
  class .tabEdit).

 Sorry I misunderstood. Now I can see the problem. Editing Editable  
 tab 3 never submits anything. Confirmed.

 I am looking through UI Tabs code now to see if I can figure out the  
 problem.

 --
 Mika Tuupolahttp://www.appelsiini.net/


[jQuery] Re: jEditable issue in Firefox 2.0.0.13

2008-04-15 Thread Mika Tuupola



On Apr 14, 2008, at 1:34 PM, [EMAIL PROTECTED] wrote:

I'm sorry I haven't had time to look deep into it.


Did you have any thoughts on what might be caugsing the conflict?
Thanks, but I think you missed the problem. 'Editable item' does  
work,
but 'Editable tab 3' doesn't. The reason I included both a  
standard ul
and tabs one controlled by UI in example was to prove there's  
nothing

wrong with the editable() command (as they both have the
class .tabEdit).


Sorry I misunderstood. Now I can see the problem. Editing Editable
tab 3 never submits anything. Confirmed.

I am looking through UI Tabs code now to see if I can figure out the
problem.



--
Mika Tuupola
http://www.appelsiini.net/



[jQuery] Re: jEditable issue in Firefox 2.0.0.13

2008-04-08 Thread Mika Tuupola



On Apr 7, 2008, at 9:18 PM, [EMAIL PROTECTED] wrote:


If anyone's trying to debug this, I have also tried running a function
rather than loading ok.php. Even if that function contains only an
alert (and a return - or even just a return) it doesn't get run in


I would debug, but I need some example page where this problem  
happens. I understand that problem occurs when using together with UI  
tabs. But I still need the page :)


--
Mika Tuupola
http://www.appelsiini.net/



[jQuery] Re: jEditable issue in Firefox 2.0.0.13

2008-04-08 Thread [EMAIL PROTECTED]

Hi Mika,
Here's a sample:
http://www.rymix.co.uk/jquery/d15/inline.html
It doesn't actually _do_ anything, but if you look at server activity
you'll see that ok.php never gets called. It returns 'OK!'
Regards,
Steve

On Apr 8, 11:06 am, Mika Tuupola [EMAIL PROTECTED] wrote:
 On Apr 7, 2008, at 9:18 PM, [EMAIL PROTECTED] wrote:

  If anyone's trying to debug this, I have also tried running a function
  rather than loading ok.php. Even if that function contains only an
  alert (and a return - or even just a return) it doesn't get run in

 I would debug, but I need some example page where this problem  
 happens. I understand that problem occurs when using together with UI  
 tabs. But I still need the page :)

 --
 Mika Tuupolahttp://www.appelsiini.net/


[jQuery] Re: jEditable issue in Firefox 2.0.0.13

2008-04-08 Thread Mika Tuupola



On Apr 8, 2008, at 6:05 PM, [EMAIL PROTECTED] wrote:


Hi Mika,
Here's a sample:
http://www.rymix.co.uk/jquery/d15/inline.html
It doesn't actually _do_ anything, but if you look at server activity
you'll see that ok.php never gets called. It returns 'OK!'
Regards,


Firefox 2.0.0.13 on OSX.

I doubleclick Editable item. Write something and then hit enter.   
Firebug show request to ok.php which responds OK!. Browsers alerts a  
sucess!.


Is the problem that you want Jeditable to submit data to server when  
you click somewhere on the page (ie on blur event of the input, not  
when user presses enter?). If this is the case do something like:


-cut-
$(.tabEdit).editable(ok.php, {
onblur : submit,
event: dblclick,
indicator: Saving...,
tooltip: Double-click to edit,
callback : function(value, settings) {
alert('success!');
}
});
-cut-

--
Mika Tuupola
http://www.appelsiini.net/



[jQuery] Re: jEditable issue in Firefox 2.0.0.13

2008-04-08 Thread Mika Tuupola



On Apr 8, 2008, at 6:47 PM, Mika Tuupola wrote:



On Apr 8, 2008, at 6:05 PM, [EMAIL PROTECTED] wrote:


Hi Mika,
Here's a sample:
http://www.rymix.co.uk/jquery/d15/inline.html
It doesn't actually _do_ anything, but if you look at server activity
you'll see that ok.php never gets called. It returns 'OK!'
Regards,


Firefox 2.0.0.13 on OSX.

I doubleclick Editable item. Write something and then hit enter.   
Firebug show request to ok.php which responds OK!. Browsers alerts  
a sucess!.



Just FYI. I also installed 2.0.0.13 on Windows machine and encountered  
no problems. Firebug shows a request to ok.php which return OK! and  
browser alerts success!.


--
Mika Tuupola
http://www.appelsiini.net/



[jQuery] Re: jEditable issue in Firefox 2.0.0.13

2008-04-08 Thread [EMAIL PROTECTED]

Thanks, but I think you missed the problem. 'Editable item' does work,
but 'Editable tab 3' doesn't. The reason I included both a standard ul
and tabs one controlled by UI in example was to prove there's nothing
wrong with the editable() command (as they both have the
class .tabEdit).

Can you confirm whether you get success with the tabs example?

In Firebug's console I don't see a POST request to 
http://www.rymix.co.uk/jquery/d15/ok.php
when editing the tab, but I do for the standard list.

Cheers,
Steve


[jQuery] Re: jEditable issue in Firefox 2.0.0.13

2008-04-08 Thread Mika Tuupola



On Apr 8, 2008, at 8:55 PM, [EMAIL PROTECTED] wrote:


Thanks, but I think you missed the problem. 'Editable item' does work,
but 'Editable tab 3' doesn't. The reason I included both a standard ul
and tabs one controlled by UI in example was to prove there's nothing
wrong with the editable() command (as they both have the
class .tabEdit).



Sorry I misunderstood. Now I can see the problem. Editing Editable  
tab 3 never submits anything. Confirmed.


I am looking through UI Tabs code now to see if I can figure out the  
problem.


--
Mika Tuupola
http://www.appelsiini.net/



[jQuery] Re: jEditable issue in Firefox 2.0.0.13

2008-04-07 Thread [EMAIL PROTECTED]

Do you have test page online? Just tested with 2.0.0.13 and did
not
encounter any problems.

I don't have an online test. Our dev servers are locked away, and it's
a royal pain moving this to a public server. However, I will build one
if I can't get to the bottom of the problem.

After removing stuff systematically I've found the problem to be some
compatibility issue between jEditable and UI tabsl; the editable
element is the text of a user-definable tab. Still works in non-
Firefox browsers though, which is weird.

I'll keep digging and let you know the result.

--
(and is jEditable the best edit-in-place plugin for jQuery anyway?)
Yes.
Cheers :)

Steve


[jQuery] Re: jEditable issue in Firefox 2.0.0.13

2008-04-07 Thread [EMAIL PROTECTED]

Well, I still can't figure out what the problem is. The issue seems to
be an incompatibility between jEditable and UI tabs. Here is an
example:

http://www.rymix.co.uk/jquery/d15/inline.html

The standard unordered list at the top and the table beneath use the
same jQuery/jEditable code, but only the standard list works. BTW,
only the third items in each list are editable.

Here's the code:

$(.tabEdit).editable(ok.php, {
event: dblclick,
indicator: Saving...,
tooltip: Double-click to edit,
callback : function(value, settings) {
alert('success!');
}
});
$('#tabs  ul').tabs();

ul
liItem 1/li
liItem 2/li
li class=tabEditEditable item/li
/ul
div id=tabs class=flora
ul
lia href=#tab1spanTab 1/span/a/li
lia href=#tab2spanTab 2/span/a/li
lia href=#tab3span class=tabEditEditable tab 
3/span/a/
li
/ul
/div
div id=tab1Tab 1/div
div id=tab2Tab 2/div
div id=tab3Tab 3/div


[jQuery] Re: jEditable issue in Firefox 2.0.0.13

2008-04-07 Thread [EMAIL PROTECTED]

If anyone's trying to debug this, I have also tried running a function
rather than loading ok.php. Even if that function contains only an
alert (and a return - or even just a return) it doesn't get run in
Firefox.

HTH
Steve


[jQuery] Re: jEditable issue in Firefox 2.0.0.13

2008-04-05 Thread Mika Tuupola



On Apr 4, 2008, at 6:48 PM, [EMAIL PROTECTED] wrote:


Hi all,
I am building a really simple jEditable (plugin) implementation with
the latest jQuery SVN. Trouble is I can't get it to work in Firefox
2.0.0.13.

In this example in Firefox, no cal is being made to the php file (php/
tabsave.php). It's just not attempting to call it at all. IE7, 6 and
Safari are all working fine.



Do you have test page online? Just tested with 2.0.0.13 and did not  
encounter any problems.



--
Mika Tuupola
http://www.appelsiini.net/



[jQuery] Re: jEditable issue in Firefox 2.0.0.13

2008-04-05 Thread Erik Beeson

 (and is jEditable the best edit-in-place plugin for jQuery anyway?)


Yes.