--- loncom/interface/loncommon.pm 2016/11/22 00:43:12 1.1265 +++ loncom/interface/loncommon.pm 2016/11/26 19:40:44 1.1266 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # a pile of common routines # -# $Id: loncommon.pm,v 1.1265 2016/11/22 00:43:12 raeburn Exp $ +# $Id: loncommon.pm,v 1.1266 2016/11/26 19:40:44 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -8663,7 +8663,7 @@ var modalWindow = { }; var openMyModal = function(source,width,height,scrolling,transparency,style) { - source = source.replace("'","'"); + source = source.replace(/'/g,"'"); modalWindow.windowId = "myModal"; modalWindow.width = width; modalWindow.height = height;