mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #1172 from robert-h-curry/preview-pane-refresh
Force preview window to refresh on every save
This commit is contained in:
commit
15a156955b
@ -318,10 +318,7 @@
|
||||
* Change the URL of the preview iframe (if its not already displayed).
|
||||
*/
|
||||
_loadUrl: function(url) {
|
||||
var iframe = this.find('iframe');
|
||||
if(iframe.attr('src') != url) {
|
||||
iframe.addClass('loading').attr('src', url);
|
||||
}
|
||||
this.find('iframe').addClass('loading').attr('src', url);
|
||||
return this;
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user