[Proto-Scripty] Re: Prototype in salesforce development

2009-06-28 Thread T.J. Crowder
Now that's cool! I didn't know about FirePHP and FirePython. I've added notes about them to the list of reources[1] on the unofficial wiki. [1] http://proto-scripty.wikidot.com/resources Thanks Rick! -- T.J. :-) On Jun 27, 4:38 pm, Rick Waldron wrote: > This is sort of redundant to TJ, but

[Proto-Scripty] Re: MySQL - order ID

2009-06-28 Thread WLQ
Parse error between: $original = $_POST['original']; if($master = MyActiveRecord::FindById('originals',$original){ > We're not getting this done by pasting little bits of code back and   > forth. You're missing something  in here, the server process that does   > the clone in the database has t

[Proto-Scripty] Re: MySQL - order ID

2009-06-28 Thread Walter Lee Davis
You need a second parenthesis at the end of the second line. Do you see it? Walter On Jun 28, 2009, at 7:19 AM, WLQ wrote: > Parse error between: > > $original = $_POST['original']; > if($master = MyActiveRecord::FindById('originals',$original){ > > >> We're not getting this done by pasting l

[Proto-Scripty] Re: MySQL - order ID

2009-06-28 Thread WLQ
Right, now it works. Even though it copies and item and outputting it in the sortable list. It's not reverting back (you can only make one copy as the item you've dragged and dropped will be erased from the original list). Also I've used that clone.php you gave, the only thing it doesn't do is cha

[Proto-Scripty] Re: MySQL - order ID

2009-06-28 Thread Walter Lee Davis
If this is the code you are using (and I've added the missing close parenthesis), then the fact that you are getting a 200 back (and a new ID) means that you have successfully created a new clone. Otherwise, you should be getting a 500 or 404 back. //create_clone.php $original = $_POST['ori

[Proto-Scripty] Re: Prototype in salesforce development

2009-06-28 Thread Rick Waldron
Yeah dude... FirePHP is the new black! hahaha It's so nice to NEVER have to output var_dump to the page... On Sun, Jun 28, 2009 at 4:38 AM, T.J. Crowder wrote: > > Now that's cool! I didn't know about FirePHP and FirePython. I've > added notes about them to the list of reources[1] on the un

[Proto-Scripty] stripScripts throwing unknown runtime exception on IE

2009-06-28 Thread vanweerd
Hi All, I have a Rails app that is working fine on all browsers except IE 7 and 8, where I am getting unknown runtime exceptions. stripScripts is throwing an unknown runtime exception: stripScripts: function() { return this.replace(new RegExp(Prototype.ScriptFragment, 'img'), ''); }, When

[Proto-Scripty] "INVALID_CHARACTER_ERR: DOM Exception 5" with Apple Safari

2009-06-28 Thread chkdes...@googlemail.com
Hello I got the following error with safari and prototype.js with the newest versions (1.6.1 rc3 and 1.6.0.3): "INVALID_CHARACTER_ERR: DOM Exception 5" (Line 2151 in v1.6.1 RC3) I can't find why. Every other Browser works fine. With Version 1.6.0.2 (included in Lightbox 2.0) everything works f