#12670: Edit/Delete crashes Scribus using JavaScripts

git-svn-id: file:///svn/Scribus/trunk/Scribus@19485 11d20701-8431-0410-a711-e3c959e3b870