Issue Feature Closed

#17003Add the js openPic-function to core-js

Georg Ringer 02/17/07, 11:16 updated 09/06/13, 09:04

Description

the onclick-popup for Images in Extensions needs the function which is only in FE available if there are any content elements (“Image only”, “text with image”) present.

So I need to add this script to every extension where I need it

externalisation would also be fine, bug #0002857

function openPic(url,winName,winParams) {
var theWindow = window.open(url,winName,winParams);
if (theWindow) {theWindow.focus();}
}
(issue imported from #M5011)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.