Jelajahi Sumber

Portal : IE9 fixes
- Remaining console.log() inthe field_set.js file
- Missing zoom-in / zoom-out mouse cursors on a object images (They are actually not available on IE9, so I put a pointing hand instead)
- Missing pointer cursors on CaseLog field collapsers

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@4362 a333f486-631f-4898-b8df-5754b55c2be0

glajarige 8 tahun lalu
induk
melakukan
f60f867e3a

+ 14 - 0
datamodels/2.x/itop-portal-base/portal/web/css/portal.css

@@ -267,6 +267,10 @@ footer {
 .mfp-wrap {
   z-index: 1210;
 }
+.mfp-img {
+  cursor: pointer;
+  cursor: zoom-out;
+}
 /********************/
 /* Typeahed setting */
 /********************/
@@ -602,6 +606,11 @@ table .group-actions {
   color: #ea7d1e;
   font-size: 0.9em;
 }
+/* InlineImage */
+.inline-image {
+  cursor: pointer;
+  cursor: zoom-in;
+}
 /* CaseLog field */
 .caselog_field_entry {
   border: 1px solid #ddd;
@@ -622,6 +631,7 @@ table .group-actions {
   font-size: 16px;
   border: 1px solid #a6a6a6;
   border-bottom-color: #979797;
+  cursor: pointer;
 }
 .caselog_field_entry_button:hover {
   background-color: #ccc;
@@ -886,6 +896,10 @@ table .group-actions {
   border-color: #fbeed5;
   color: #c09853;
 }
+/* CKEditor : Misc */
+.cke_toolbox_collapser, .cke_toolbox_collapser .cke_arrow {
+  cursor: pointer !important;
+}
 /* DataTables : Selection inputs */
 .dataTable.table th span.row_input, .dataTable.table td span.row_input {
   display: inline-block;

+ 15 - 0
datamodels/2.x/itop-portal-base/portal/web/css/portal.scss

@@ -282,6 +282,10 @@ footer{
 .mfp-wrap{
 	z-index: 1210;
 }
+.mfp-img{
+	cursor: pointer;
+	cursor: zoom-out;
+}
 
 /********************/
 /* Typeahed setting */
@@ -640,6 +644,11 @@ table .group-actions .item-action-wrapper .panel-body > p:last-child{
 	color: $brand-primary;
 	font-size: 0.9em;
 }
+/* InlineImage */
+.inline-image{
+	cursor: pointer;
+	cursor: zoom-in;
+}
 /* CaseLog field */
 .caselog_field_entry{
 	border: 1px solid $gray-lighter;
@@ -660,6 +669,7 @@ table .group-actions .item-action-wrapper .panel-body > p:last-child{
 	font-size: 16px;
     border: 1px solid #a6a6a6;
     border-bottom-color: #979797;
+	cursor: pointer;
 }
 .caselog_field_entry_button:hover{
 	background-color: #cccccc;
@@ -928,6 +938,11 @@ table .group-actions .item-action-wrapper .panel-body > p:last-child{
     border-color: $alert-warning-border;
     color: $alert-warning-text;
 }
+/* CKEditor : Misc */
+.cke_toolbox_collapser,
+.cke_toolbox_collapser .cke_arrow{
+	cursor: pointer !important;
+}
 
 /* DataTables : Selection inputs */
 .dataTable.table th span.row_input,

+ 4 - 1
js/field_set.js

@@ -131,7 +131,10 @@ $(function()
 				}
 				else
 				{
-					console.log('Field set : Cannot retrieve current value from field [' + this.options.field_identifier_attr + '="' + oField.id + '"][data-form-path="' + this.options.form_path + '"] as it seems to have no itop.form_field widget attached.');
+					if(window.console)
+					{
+						console.log('Field set : Cannot retrieve current value from field [' + this.options.field_identifier_attr + '="' + oField.id + '"][data-form-path="' + this.options.form_path + '"] as it seems to have no itop.form_field widget attached.');
+					}
 				}
 			}