mirror of https://github.com/apache/archiva.git
sammyjs 0.7.4
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1448851 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a73c35bcf2
commit
8ad0fb9872
|
@ -33,7 +33,7 @@
|
|||
|
||||
<script type="text/javascript" src="js/jquery-1.9.1.min.js"></script>
|
||||
<script type="text/javascript" src="js/jquery-ui-1.9.2.custom.min.js"></script>
|
||||
<script type="text/javascript" src="js/sammy.0.7.2.js"></script>
|
||||
<script type="text/javascript" src="js/sammy.0.7.4.js"></script>
|
||||
<script type="text/javascript" data-main="js/archiva/archiva.js" src="js/require.2.1.4.js"></script>
|
||||
|
||||
<title>Apache Archiva</title>
|
||||
|
|
|
@ -78,7 +78,7 @@ $.ajax({
|
|||
"tmpl": "tmpl.min",
|
||||
"purl": "purl-2.2.1",
|
||||
"prettify": "prettify",
|
||||
"sammy": "sammy.0.7.2",
|
||||
"sammy": "sammy.0.7.4",
|
||||
"select2": "select2.min-3.2",
|
||||
"jqueryFileTree": "jqueryFileTree-1.0.1",
|
||||
"redback": "redback/redback",
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// name: sammy
|
||||
// version: 0.7.2
|
||||
// version: 0.7.4
|
||||
|
||||
// Sammy.js / http://sammyjs.org
|
||||
|
||||
|
@ -87,7 +87,7 @@
|
|||
}
|
||||
};
|
||||
|
||||
Sammy.VERSION = '0.7.2';
|
||||
Sammy.VERSION = '0.7.4';
|
||||
|
||||
// Add to the global logger pool. Takes a function that accepts an
|
||||
// unknown number of arguments and should print them or send them somewhere
|
||||
|
@ -219,11 +219,11 @@
|
|||
// Return whether the event targets this window.
|
||||
Sammy.targetIsThisWindow = function targetIsThisWindow(event) {
|
||||
var targetWindow = $(event.target).attr('target');
|
||||
if ( !targetWindow || targetWindow === window.name || targetWindow === '_self' ) { return true; }
|
||||
if ( targetWindow === '_blank' ) { return false; }
|
||||
if ( targetWindow == null || targetWindow === window.name || targetWindow === '_self' ) { return true; }
|
||||
if ( targetWindow === 'top' && window === window.top ) { return true; }
|
||||
return false;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
// The DefaultLocationProxy is the default location proxy for all Sammy applications.
|
Loading…
Reference in New Issue