roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From snoopd...@apache.org
Subject [04/16] roller git commit: ROL-2097 Angular based pages make browser to send unnecessary GET requests
Date Sat, 28 Jan 2017 22:22:38 GMT
ROL-2097 Angular based pages make browser to send unnecessary GET requests

git-svn-id: https://svn.apache.org/repos/asf/roller/trunk@1720881 13f79535-47bb-0310-9956-ffa450edef68


Project: http://git-wip-us.apache.org/repos/asf/roller/repo
Commit: http://git-wip-us.apache.org/repos/asf/roller/commit/571d8a8e
Tree: http://git-wip-us.apache.org/repos/asf/roller/tree/571d8a8e
Diff: http://git-wip-us.apache.org/repos/asf/roller/diff/571d8a8e

Branch: refs/heads/bootstrap-ui
Commit: 571d8a8e8d870664d7ca49555b2451a7f38f8c87
Parents: 50a709a
Author: Kohei Nozaki <kohei@apache.org>
Authored: Sat Dec 19 02:42:30 2015 +0000
Committer: Kohei Nozaki <kohei@apache.org>
Committed: Sat Dec 19 02:42:30 2015 +0000

----------------------------------------------------------------------
 app/src/main/webapp/WEB-INF/jsps/core/CreateWeblog.jsp | 2 +-
 app/src/main/webapp/WEB-INF/jsps/editor/ThemeEdit.jsp  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/roller/blob/571d8a8e/app/src/main/webapp/WEB-INF/jsps/core/CreateWeblog.jsp
----------------------------------------------------------------------
diff --git a/app/src/main/webapp/WEB-INF/jsps/core/CreateWeblog.jsp b/app/src/main/webapp/WEB-INF/jsps/core/CreateWeblog.jsp
index 144e00a..e233946 100644
--- a/app/src/main/webapp/WEB-INF/jsps/core/CreateWeblog.jsp
+++ b/app/src/main/webapp/WEB-INF/jsps/core/CreateWeblog.jsp
@@ -96,7 +96,7 @@ function handlePreview(handle) {
         <br />
         <p>{{ selectedTheme.description }}</p>
         <br />
-        <img src="<s:property value='siteURL'/>{{ selectedTheme.previewPath }}"/>
+        <img ng-src="<s:property value='siteURL'/>{{ selectedTheme.previewPath }}"/>
     </td>
     <td class="description"><s:text name="createWebsite.tip.theme" /></td>
 </tr>

http://git-wip-us.apache.org/repos/asf/roller/blob/571d8a8e/app/src/main/webapp/WEB-INF/jsps/editor/ThemeEdit.jsp
----------------------------------------------------------------------
diff --git a/app/src/main/webapp/WEB-INF/jsps/editor/ThemeEdit.jsp b/app/src/main/webapp/WEB-INF/jsps/editor/ThemeEdit.jsp
index bce635c..4fde4f7 100644
--- a/app/src/main/webapp/WEB-INF/jsps/editor/ThemeEdit.jsp
+++ b/app/src/main/webapp/WEB-INF/jsps/editor/ThemeEdit.jsp
@@ -123,7 +123,7 @@ function updateThemeChooser(selected) {
 
         <p>{{ selectedTheme.description }}</p>
         <p>
-            <img src="<s:property value='siteURL'/>{{ selectedTheme.previewPath
}}"/>
+            <img ng-src="<s:property value='siteURL'/>{{ selectedTheme.previewPath
}}"/>
         </p>
         <p>
             <s:text name="themeEditor.previewDescription" />


Mime
View raw message